- //
// 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
-
- //
+
+
+