Fix for Redux DevTools not being installed causing a crash

This commit is contained in:
Clayton Wilson 2019-10-11 17:35:21 -04:00
parent 27efa858d5
commit f4b44c9654

View File

@ -21,7 +21,7 @@ const store = createStore(
initialState,
compose(
applyMiddleware(...middleWare),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() // Can be removed after debugging is finished
window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : f => f // Can be removed after debugging is finished
)
);