Skip to content

Commit

Permalink
fix: Mobile nav menu button not working
Browse files Browse the repository at this point in the history
  • Loading branch information
arrudagates committed Jan 9, 2024
1 parent 1c7768d commit d40cdd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Layout/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const SideNav = (props: SideNavProps) => {
return () => {
if (navOpen) navOpen(false);
};
}, [navOpen]);
}, []);

return (
<div className="side-nav flex flex-col items-center justify-between bg-black bg-opacity-70 backdrop-blur-sm h-screen">
Expand Down Expand Up @@ -77,4 +77,4 @@ const SideNav = (props: SideNavProps) => {
);
};

export default SideNav;
export default SideNav;

0 comments on commit d40cdd1

Please sign in to comment.