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

TypeError: Cannot read property 'apply' of undefined #203

Open
Venky7911 opened this issue Aug 27, 2021 · 1 comment
Open

TypeError: Cannot read property 'apply' of undefined #203

Venky7911 opened this issue Aug 27, 2021 · 1 comment

Comments

@Venky7911
Copy link

while I'm running on the server I'm getting errors. I'm attaching the preview.

image

@starkblaze01
Copy link
Owner

Hi, @Venky7911 can you confirm which redux, redux-thunk version you are using?
Also, try changing the value of store to:

const store = createStore(
  rootReducer,
  initialState,
  compose(
    applyMiddleware(...middleware)
  )
);

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

2 participants