diff --git a/micro-ui/web/packages/core/src/App.js b/micro-ui/web/packages/core/src/App.js
index c1076cd6ce3..381578d4da8 100644
--- a/micro-ui/web/packages/core/src/App.js
+++ b/micro-ui/web/packages/core/src/App.js
@@ -43,14 +43,14 @@ registerRemotes(queryClient)
const App = () => {
- const { login, history, isSignedIn$, logout } = useAuth();
+ // const { login, history, isSignedIn$, logout } = useAuth();
const { navigate } = useRouter();
const enabledModules = ["PT", "HRMS", "Workbench", "DSS", "Measurement", "PGR"];
const moduleReducers = (initData) => initData;
const stateCode = window?.globalConfigs?.getConfig("STATE_LEVEL_TENANT_ID") || "pb";
-
+ console.log("stateCode",stateCode);
return (
@@ -109,11 +109,11 @@ const initDigitUI = () => {
});
// initHRMSComponents();
- const enabledModules = ["PT"];
+ // const enabledModules = ["PT"];
- const moduleReducers = (initData) => initData;
+ // const moduleReducers = (initData) => initData;
- const stateCode = window?.globalConfigs?.getConfig("STATE_LEVEL_TENANT_ID") || "pb";
+ // const stateCode = window?.globalConfigs?.getConfig("STATE_LEVEL_TENANT_ID") || "pb";
// initTokens(stateCode);
// return (
);
diff --git a/micro-ui/web/packages/core/src/Module.js b/micro-ui/web/packages/core/src/Module.js
index bdc9ed45532..5bf3b7fc451 100644
--- a/micro-ui/web/packages/core/src/Module.js
+++ b/micro-ui/web/packages/core/src/Module.js
@@ -14,6 +14,7 @@ import { ReactQueryDevtools } from 'react-query/devtools';
//here add react-query dev tools
const DigitUIWrapper = ({ stateCode, enabledModules, moduleReducers,defaultLanding }) => {
+ // debugger
const { isLoading, data: initData } = Digit.Hooks.useInitStore(stateCode, enabledModules);
if (isLoading) {
return
;
@@ -39,6 +40,7 @@ const DigitUIWrapper = ({ stateCode, enabledModules, moduleReducers,defaultLandi
};
export const DigitUI = ({ stateCode, registry, enabledModules, moduleReducers ,defaultLanding,queryClient}) => {
+ // debugger
const [privacy, setPrivacy] = useState(Digit.Utils.getPrivacyObject() || {});
const userType = Digit.UserService.getType();
// const queryClient = new QueryClient({
diff --git a/micro-ui/web/packages/core/src/components/AppModules.js b/micro-ui/web/packages/core/src/components/AppModules.js
index 1cbfc58c6ca..53ae099337a 100644
--- a/micro-ui/web/packages/core/src/components/AppModules.js
+++ b/micro-ui/web/packages/core/src/components/AppModules.js
@@ -11,6 +11,7 @@ const getTenants = (codes, tenants) => {
};
export const AppModules = ({ stateCode, userType, modules, appTenants }) => {
+ // debugger
const ComponentProvider = Digit.Contexts.ComponentProvider;
const { path } = useRouteMatch();
const location = useLocation();
diff --git a/micro-ui/web/packages/core/src/pages/citizen/AllServices/index.js b/micro-ui/web/packages/core/src/pages/citizen/AllServices/index.js
index 49bbe3f7c8a..320619d2fa4 100644
--- a/micro-ui/web/packages/core/src/pages/citizen/AllServices/index.js
+++ b/micro-ui/web/packages/core/src/pages/citizen/AllServices/index.js
@@ -17,6 +17,7 @@ const CitizenApp = ({
sourceUrl,
pathname,
}) => {
+ // debugger
const { t } = useTranslation();
return
;
diff --git a/micro-ui/web/packages/core/src/pages/citizen/Home/UserProfile.js b/micro-ui/web/packages/core/src/pages/citizen/Home/UserProfile.js
index 30c33683ec0..f5ee3bfdf6d 100644
--- a/micro-ui/web/packages/core/src/pages/citizen/Home/UserProfile.js
+++ b/micro-ui/web/packages/core/src/pages/citizen/Home/UserProfile.js
@@ -41,6 +41,7 @@ import {
"L+RGKCddCGmatiPyPB/+ekO/M/q/7uvbt22kTt3zEnXPzCV13T3Gel4/6NduDu66xRvlPNkM1RjjxUdv+4WhGx6TftD19Q/dfzpwcHO+rE3fAAAAAElFTkSuQmCC";
const UserProfile = ({ stateCode, userType, cityDetails }) => {
+ // debugger
const history = useHistory();
const { t } = useTranslation();
const url = window.location.href;
diff --git a/micro-ui/web/packages/core/src/pages/citizen/Login/index.js b/micro-ui/web/packages/core/src/pages/citizen/Login/index.js
index 74068dc0503..18425a929f7 100644
--- a/micro-ui/web/packages/core/src/pages/citizen/Login/index.js
+++ b/micro-ui/web/packages/core/src/pages/citizen/Login/index.js
@@ -31,6 +31,7 @@ const getFromLocation = (state, searchParams) => {
};
const Login = ({ stateCode, isUserRegistered = true }) => {
+ // debugger
const { t } = useTranslation();
const location = useLocation();
const { path, url } = useRouteMatch();
diff --git a/micro-ui/web/packages/core/src/pages/citizen/index.js b/micro-ui/web/packages/core/src/pages/citizen/index.js
index ac1835ea707..1af6576fa0b 100644
--- a/micro-ui/web/packages/core/src/pages/citizen/index.js
+++ b/micro-ui/web/packages/core/src/pages/citizen/index.js
@@ -45,6 +45,7 @@ const Home = ({
pathname,
initData,
}) => {
+ // debugger
const { isLoading: islinkDataLoading, data: linkData, isFetched: isLinkDataFetched } = Digit.Hooks.useCustomMDMS(
Digit.ULBService.getStateId(),
"ACCESSCONTROL-ACTIONS-TEST",
diff --git a/micro-ui/web/packages/core/src/pages/employee/index.js b/micro-ui/web/packages/core/src/pages/employee/index.js
index 07b38eb0d86..d738c9eb049 100644
--- a/micro-ui/web/packages/core/src/pages/employee/index.js
+++ b/micro-ui/web/packages/core/src/pages/employee/index.js
@@ -30,6 +30,7 @@ const EmployeeApp = ({
pathname,
initData,
}) => {
+ // debugger
const history = useHistory();
const { t } = useTranslation();
const { path } = useRouteMatch();
diff --git a/micro-ui/web/packages/core/src/pages/index.js b/micro-ui/web/packages/core/src/pages/index.js
index ae89ed6d70e..89eaa92f185 100644
--- a/micro-ui/web/packages/core/src/pages/index.js
+++ b/micro-ui/web/packages/core/src/pages/index.js
@@ -4,6 +4,7 @@ import CitizenApp from "./citizen";
import EmployeeApp from "./employee";
export const DigitApp = ({ stateCode, modules, appTenants, logoUrl, initData ,defaultLanding="citizen"}) => {
+ // debugger
const history = useHistory();
const { pathname } = useLocation();
const innerWidth = window.innerWidth;