Accessing profile '/account' errors
See original GitHub issueI am trying to access the profile menu in the example w/ material given. But I am not getting the right menu to access it. I get this on the home page in errors:
Warning: Failed propType: Required prop message
was not specified in Snackbar
. Check the render method of Home
. warning.js?:45:9
Warning: Failed propType: Required prop message
was not specified in SnackbarBody
. Check the render method of WithWidth
.
Even when trying to access ‘/account’ directly I get full errors. connect.js:81 Uncaught TypeError: Cannot read property ‘firebase’ of undefined at FirebaseConnect.componentWillMount (connect.js:81) at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:210) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (ReactPerf.js:66) at Object.mountComponent (ReactReconciler.js:37) at ReactDOMComponent.mountChildren (ReactMultiChild.js:241) at ReactDOMComponent._createContentMarkup (ReactDOMComponent.js:591) at ReactDOMComponent.mountComponent (ReactDOMComponent.js:479) at Object.mountComponent (ReactReconciler.js:37) at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:225) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (ReactPerf.js:66)
I only changed the config values for firebase for the example. Is there something else I need to do on firebase or the src?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Your rules
mean that if user is authenticated, he cannot access the data. As Scott suggessted, try changing the rules.
The
v1.3.0-alpha
release includes major changes to the material example. It is also now available at demo.react-redux-firebase.com.Since it is a major overhaul, I am going to close this issue. Feel free to post a new issue if you find anything not working as expected.