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
@auziak Thanks. Only 1 small typo on the word "middleware". It should be "middleWare". const enhancer = composeEnhancers(applyMiddleware(...middleWare));
Code in store.js should be changed to this:
const initialState = {};
const middleware = [thunk];
const composeEnhancers = window.REDUX_DEVTOOLS_EXTENSION_COMPOSE || compose;
const enhancer = composeEnhancers(applyMiddleware(...middleware));
const store = createStore(
rootReducer,
initialState,
enhancer
);
Solution links:
zalmoxisus/redux-devtools-extension#320
https://github.com/zalmoxisus/redux-devtools-extension#12-advanced-store-setup
The text was updated successfully, but these errors were encountered: