diff --git a/src/shared/Header.tsx b/src/shared/Header.tsx index e1e404c..5923ee5 100644 --- a/src/shared/Header.tsx +++ b/src/shared/Header.tsx @@ -7,14 +7,19 @@ import { Link } from 'react-router-dom' import { Pages } from '../config/Pages' import Notifications from '../pages/notification/Notification' import { useSharedStore } from './store/sharedStore' +import { clx } from '../helpers/utils' const Header: FC = () => { const { t } = useTranslation('global') - const { setOpenSidebar, openSidebar } = useSharedStore() + const { setOpenSidebar, openSidebar, hasSubMenu } = useSharedStore() + return ( -
+