From f4b44c96541ac0c1c99987e6006127e368dc452c Mon Sep 17 00:00:00 2001 From: Clayton Wilson Date: Fri, 11 Oct 2019 17:35:21 -0400 Subject: [PATCH] Fix for Redux DevTools not being installed causing a crash --- twistter-frontend/src/redux/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twistter-frontend/src/redux/store.js b/twistter-frontend/src/redux/store.js index 93e0b8a..e84bcbb 100644 --- a/twistter-frontend/src/redux/store.js +++ b/twistter-frontend/src/redux/store.js @@ -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 ) );