diff --git a/micro-ui/web/packages/core/src/Module.js b/micro-ui/web/packages/core/src/Module.js index a8198404bb9..8c6006104d9 100644 --- a/micro-ui/web/packages/core/src/Module.js +++ b/micro-ui/web/packages/core/src/Module.js @@ -21,7 +21,7 @@ const DigitUIWrapper = ({ stateCode="pg", enabledModules, moduleReducers,default return ; } - + debugger const i18n = getI18n(); return ( diff --git a/micro-ui/web/packages/ui-libraries/src/hooks/store.js b/micro-ui/web/packages/ui-libraries/src/hooks/store.js index 477ee4bd39e..92b1b14e5fc 100644 --- a/micro-ui/web/packages/ui-libraries/src/hooks/store.js +++ b/micro-ui/web/packages/ui-libraries/src/hooks/store.js @@ -8,6 +8,7 @@ export const useStore = ({ stateCode, moduleCode, language }) => { }; export const useInitStore = (stateCode, enabledModules) => { + console.log("inside initStore", stateCode, enabledModules); const { isLoading, error, isError, data } = useQuery( ["initStore", stateCode, enabledModules], () => StoreService.digitInitData(stateCode, enabledModules), diff --git a/micro-ui/web/packages/ui-libraries/src/services/molecules/Store/service.js b/micro-ui/web/packages/ui-libraries/src/services/molecules/Store/service.js index 960c4a0e62e..8760432af12 100644 --- a/micro-ui/web/packages/ui-libraries/src/services/molecules/Store/service.js +++ b/micro-ui/web/packages/ui-libraries/src/services/molecules/Store/service.js @@ -55,6 +55,8 @@ export const StoreService = { return await Promise.all(allBoundries); }, digitInitData: async (stateCode, enabledModules) => { + console.log("inside digitInitData",stateCode,enabledModules); + debugger const { MdmsRes } = await MdmsService.init(stateCode); const stateInfo = MdmsRes["common-masters"]?.StateInfo?.[0]||{}; const uiHomePage = MdmsRes["common-masters"]?.uiHomePage?.[0]||{};