Skip to content

Commit

Permalink
Update bootstrap.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Mar 6, 2024
1 parent 4220810 commit 313f194
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions micro-ui/web/packages/hrms/src/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import React from "react";
import ReactDOM from "react-dom";
import { Router } from "react-router-dom";
import { createBrowserHistory } from "history";
import { DigitUI } from "@digit-ui/digit-ui-module-core-base";
import { initLibraries } from "@digit-ui/digit-ui-libraries-mfe";
import { initHRMSComponents } from "./Module.js";
import { HRMSModule } from "./Module.js";

initLibraries().then(() => {
initDigitUI();
Expand All @@ -20,7 +18,8 @@ const mount = (el, { history,login }) => {

const stateCode = window?.globalConfigs?.getConfig("STATE_LEVEL_TENANT_ID") || "pb";
ReactDOM.render(
<DigitUI stateCode={stateCode} enabledModules={enabledModules} defaultLanding="employee" moduleReducers={moduleReducers} />,
// <DigitUI stateCode={stateCode} enabledModules={enabledModules} defaultLanding="employee" moduleReducers={moduleReducers} />,
<div>HRMS MODULE</div>,
el
);
};
Expand Down

0 comments on commit 313f194

Please sign in to comment.