Skip to content

Commit

Permalink
fixed LeftDrawerOrg Visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhil2k4 committed Jan 10, 2025
1 parent eceaad9 commit 06375b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/LeftDrawerOrg/LeftDrawerOrg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ const leftDrawerOrg = ({
() => getIdFromPath(location.pathname),
[location.pathname],
);

useEffect(() => {
if (hideDrawer === null) {
setHideDrawer(false);
}
}, []);

// Check if the current page is admin profile page

useEffect(() => {
Expand Down

0 comments on commit 06375b2

Please sign in to comment.