Browse Source

Added loggerMiddleware back

all-modes
Yogesh Kumar 8 years ago
parent
commit
daf549d5c4
  1. 2
      react/src/store.js

2
react/src/store.js

@ -19,7 +19,7 @@ const defaultState = {
/* eslint-disable no-underscore-dangle */
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const enhancers = composeEnhancers(applyMiddleware(thunkMiddleware));
const enhancers = composeEnhancers(applyMiddleware(thunkMiddleware, loggerMiddleware));
const store = createStore(
rootReducer,
defaultState,

Loading…
Cancel
Save