From b853d7df011e0569bb996aa73d846cfa31682f52 Mon Sep 17 00:00:00 2001 From: ALi Josheghani Date: Wed, 30 Oct 2024 11:32:57 +0330 Subject: [PATCH] feat: Add shop ID slice to store configuration --- src/redux/store.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/redux/store.ts b/src/redux/store.ts index 3439394..e6b2bfb 100644 --- a/src/redux/store.ts +++ b/src/redux/store.ts @@ -17,6 +17,7 @@ import tokenReducer from "./slices/token"; import configId from "./slices/configId"; import categoryId from "./slices/categoryId"; import isPaymentGateway from "./slices/isPaymentGateway"; +import shopId from "./slices/shop-id"; // Encryption settings const secretKey = "token-encrypt-api"; @@ -46,6 +47,7 @@ const persistedTokenReducer = persistReducer(persistConfigToken, tokenReducer); const store = configureStore({ reducer: { token: persistedTokenReducer, + shop_id: shopId, configIdState: configId, categoryIdState: categoryId, isPaymentGatewayState: isPaymentGateway,