IO-1995 remove syncing of shop status between tabs to reduce unintended consequences.
This commit is contained in:
@@ -17,7 +17,9 @@ const sentryReduxEnhancer = Sentry.createReduxEnhancer({
|
|||||||
const sagaMiddleWare = createSagaMiddleware();
|
const sagaMiddleWare = createSagaMiddleware();
|
||||||
|
|
||||||
const reduxSyncConfig = {
|
const reduxSyncConfig = {
|
||||||
whitelist: ["ADD_RECENT_ITEM", "SET_SHOP_DETAILS"],
|
whitelist: [
|
||||||
|
"ADD_RECENT_ITEM", //"SET_SHOP_DETAILS"
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
const middlewares = [
|
const middlewares = [
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ export function* SetAuthLevelFromShopDetails({ payload }) {
|
|||||||
try {
|
try {
|
||||||
const userEmail = yield select((state) => state.user.currentUser.email);
|
const userEmail = yield select((state) => state.user.currentUser.email);
|
||||||
try {
|
try {
|
||||||
console.log("Setting shop timezone.");
|
//console.log("Setting shop timezone.");
|
||||||
// moment.tz.setDefault(payload.timezone);
|
// moment.tz.setDefault(payload.timezone);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user