Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed prop type: The prop trynState.isRequired is marked as required in Map,... #60

Closed
komali2 opened this issue Jun 14, 2018 · 1 comment

Comments

@komali2
Copy link
Contributor

komali2 commented Jun 14, 2018

See #58 for more information on the bit of code that's causing this issue.

Error is:

Warning: Failed prop type: The prop `trynState.isRequired` is marked as required in `Map`, but its value is `undefined`.
    in Map (created by Relay(Map))
    in Relay(Map) (at App.jsx:49)
    in ReactRelayQueryRenderer (at App.jsx:32)
    in div (at App.jsx:60)
    in App (at index.jsx:10)
@EddyIonescu
Copy link
Member

I think this happens because we explicitly pass null into Map as to load the map before it gets a response from the API. That or relay creates the component without passing in the prop defined in QueryRenderer. Closing since it's a warning that's not causing any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants