Update redux devtools usage syntax
This commit is contained in:
parent
c92d26b724
commit
27c9cc3892
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import writeMiddleware from './write-middleware';
|
|||
export default () => {
|
||||
const enhancer = compose(
|
||||
applyMiddleware(thunk, plugins.middleware, thunk, writeMiddleware, effects),
|
||||
window.devToolsExtension()
|
||||
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
|
||||
);
|
||||
|
||||
return createStore(rootReducer, enhancer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue