This commit is contained in:
Clayton Wilson 2019-10-10 14:13:04 -04:00
parent d1233e77ed
commit 00ed9d64c5

View File

@ -15,12 +15,13 @@ const reducers = combineReducers({
UI: uiReducer UI: uiReducer
}); });
const store = createStore( const store = createStore(
reducers, reducers,
initialState, initialState,
compose( compose(
applyMiddleware(...middleWare), applyMiddleware(...middleWare),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() // Can be removed after debugging is finished
) )
); );