diff --git a/frontend/src/_ui/Layout/index.jsx b/frontend/src/_ui/Layout/index.jsx index 8ede1c78f1..38e720aa51 100644 --- a/frontend/src/_ui/Layout/index.jsx +++ b/frontend/src/_ui/Layout/index.jsx @@ -6,9 +6,11 @@ import { Profile } from '@/_components/Profile'; import { NotificationCenter } from '@/_components/NotificationCenter'; import Logo from '@assets/images/rocket.svg'; import Header from '../Header'; +import { authenticationService } from '@/_services'; function Layout({ children, switchDarkMode, darkMode }) { const router = useRouter(); + const { admin } = authenticationService.currentUserValue; return (