mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
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 () => {
|
export default () => {
|
||||||
const enhancer = compose(
|
const enhancer = compose(
|
||||||
applyMiddleware(thunk, plugins.middleware, thunk, writeMiddleware, effects),
|
applyMiddleware(thunk, plugins.middleware, thunk, writeMiddleware, effects),
|
||||||
window.devToolsExtension()
|
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
|
||||||
);
|
);
|
||||||
|
|
||||||
return createStore(rootReducer, enhancer);
|
return createStore(rootReducer, enhancer);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue