You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to see if there is a current solution to render "store" in an @connect() (redux connected) component in the styleguide?
When I view the styleguide, I'm seeing this error: Invariant Violation: Could not find "store" in either the context or props of "Connect(Footer)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(Footer)".
Here's the export statement in Footer.jsx:
export default connect(mapStateToProps)(Footer);
In the Wrapper component I tried adding a Provider wrapper without any luck: