diff --git a/src/entryPoints/HyperSwitchApp.res b/src/entryPoints/HyperSwitchApp.res index cc54180b9..9aa0c0317 100644 --- a/src/entryPoints/HyperSwitchApp.res +++ b/src/entryPoints/HyperSwitchApp.res @@ -83,8 +83,10 @@ let make = () => { let ompDropdowns =
- -

{"/"->React.string}

+ + +

{"/"->React.string}

+
@@ -114,9 +116,9 @@ let make = () => { headerActions={
- // // to be removed later - // - // + + +
{modeText->React.string} diff --git a/src/screens/Sidebar/Sidebar.res b/src/screens/Sidebar/Sidebar.res index b786549bb..f122dff03 100644 --- a/src/screens/Sidebar/Sidebar.res +++ b/src/screens/Sidebar/Sidebar.res @@ -457,8 +457,8 @@ let make = ( let isMobileView = MatchMedia.useMobileChecker() let sideBarRef = React.useRef(Nullable.null) let {email} = useCommonAuthInfo()->Option.getOr(defaultAuthInfo) - // let {userInfo: {roleId}} = React.useContext(UserInfoProvider.defaultContext) - // let isInternalUser = roleId->HyperSwitchUtils.checkIsInternalUser + let {userInfo: {roleId}} = React.useContext(UserInfoProvider.defaultContext) + let isInternalUser = roleId->HyperSwitchUtils.checkIsInternalUser let (openItem, setOpenItem) = React.useState(_ => "") let {isSidebarExpanded, setIsSidebarExpanded} = React.useContext(SidebarProvider.defaultContext) @@ -546,9 +546,9 @@ let make = ( />
- // // to be removed later - - // + + +