Skip to content

Invariant Violation: Could not find "store" in either the context or props of "Connect(App)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(App)". #1291

@manojktechie

Description

@manojktechie

Hi,

I am integrating Material-UI with react-starter-kit's feature/react-intl branch. My app.js file look like this:

image
image

While running the application, I am getting below error:

Invariant Violation: Could not find "store" in either the context or props of "Connect(App)". Either wrap the root component in a , or explicitly pass "store" as a prop to "Connect(App)".

Do I need to make any change in server.js/client.js ? Although I tried to put MuiThemeProvider in server.js and client.js but still not working.

@frenzzy Could you please help me on this to get it sorted out ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions