From 8aa99415b1d89ebfbfded54fe6ed04e1173924a7 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Mon, 25 Jul 2022 11:14:45 -0700 Subject: [PATCH] IO-1995 remove syncing of shop status between tabs to reduce unintended consequences. --- client/src/redux/store.js | 4 +++- client/src/redux/user/user.sagas.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/redux/store.js b/client/src/redux/store.js index 852a371c2..55452833d 100644 --- a/client/src/redux/store.js +++ b/client/src/redux/store.js @@ -17,7 +17,9 @@ const sentryReduxEnhancer = Sentry.createReduxEnhancer({ const sagaMiddleWare = createSagaMiddleware(); const reduxSyncConfig = { - whitelist: ["ADD_RECENT_ITEM", "SET_SHOP_DETAILS"], + whitelist: [ + "ADD_RECENT_ITEM", //"SET_SHOP_DETAILS" + ], }; const middlewares = [ diff --git a/client/src/redux/user/user.sagas.js b/client/src/redux/user/user.sagas.js index 3aeafc751..d67754f0c 100644 --- a/client/src/redux/user/user.sagas.js +++ b/client/src/redux/user/user.sagas.js @@ -269,7 +269,7 @@ export function* SetAuthLevelFromShopDetails({ payload }) { try { const userEmail = yield select((state) => state.user.currentUser.email); try { - console.log("Setting shop timezone."); + //console.log("Setting shop timezone."); // moment.tz.setDefault(payload.timezone); } catch (error) { console.log(error);