From 82f9f67e48259b26f0352b3d2ddc9b7d1eaf616e Mon Sep 17 00:00:00 2001 From: Rodri Sanchez Date: Fri, 21 Jul 2023 16:48:37 -0300 Subject: [PATCH] Revert "Allow Redux-devtools to test on qa" This reverts commit 13e41eb1df3075e02814040f1fe37ac20d5de460. --- src/store.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store.js b/src/store.js index 32aa0bbaf..1f37fe3f6 100644 --- a/src/store.js +++ b/src/store.js @@ -14,7 +14,9 @@ export default function configureStore(initialState = {}) { // If Redux DevTools Extension is installed use it, otherwise use Redux compose /* eslint-disable no-underscore-dangle */ const composeEnhancers = - typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ + process.env.NODE_ENV !== 'production' && + typeof window === 'object' && + window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : compose;