From f9296b99bbc14e5adf7a43234a5636e1e7223681 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sat, 8 Feb 2025 14:29:03 +0330 Subject: [PATCH] sidebar --- src/shared/Header.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 ( -
+