Pass a Callback as Props error: Element type is invalid

Why did you assign an empty object to GetInput here? You have redefined what GetInput is.

1 Like