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

this.props.features.map is not a function #1

Open
joahg opened this issue Sep 21, 2016 · 0 comments
Open

this.props.features.map is not a function #1

joahg opened this issue Sep 21, 2016 · 0 comments

Comments

@joahg
Copy link

joahg commented Sep 21, 2016

there's an issue when running the app without authenticating properly with firebase.

screen shot 2016-09-20 at 8 27 28 pm

what I suggest is adding propTypes validation on FeaturesIndex by adding something like this on line 22 of src/components/features_index.js:

FeaturesIndex.propTypes = {
    features: React.PropTypes.array
};

then adding a handler for catching propType validation failure somewhere

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

No branches or pull requests

1 participant