From 68442bdc7c20f2bd61883702da5d8299401a5522 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Wed, 9 Apr 2025 11:50:44 +0530 Subject: [PATCH] comment out unused functions and dropdown in Sidebar component --- src/components/Layout/Sidebar.jsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Layout/Sidebar.jsx b/src/components/Layout/Sidebar.jsx index 64ae2e4c..cc497719 100644 --- a/src/components/Layout/Sidebar.jsx +++ b/src/components/Layout/Sidebar.jsx @@ -4,17 +4,17 @@ import menuData from "../../data/menuData.json"; import {getCachedProfileData} from "../../slices/apiDataManager"; const Sidebar = () => { - const logineUser = getCachedProfileData() + // const logineUser = getCachedProfileData() const navigate = useNavigate() - const handleLogout = (e) => { - e.preventDefault(); - // logout(); - }; + // const handleLogout = (e) => { + // e.preventDefault(); + // // logout(); + // }; - const handleProfilePage = ()=>{ - console.log(profile?.employeeInfo?.id) - navigate(`/employee/${profile?.employeeInfo?.id}?for=account`) - } + // const handleProfilePage = ()=>{ + // console.log(profile?.employeeInfo?.id) + // navigate(`/employee/${profile?.employeeInfo?.id}?for=account`) + // } return ( ); };