feat: Add shop ID slice to store configuration
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user