Skip to content

Commit

Permalink
Refactor mobile menu toggler to button
Browse files Browse the repository at this point in the history
  • Loading branch information
LasseStaus committed Jun 11, 2024
1 parent d048bca commit 830b9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stories/Library/header-sidebar-nav/header-sidebar-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const HeaderSidebarNav: React.FC<HeaderSidebarNavProps> = ({
}, []);

return (
<div
<button
className="header-sidebar-nav"
data-open={menuOpen}
// The sidebar normally isn't displayed on larger screens (otherwise it's
Expand All @@ -43,7 +43,7 @@ const HeaderSidebarNav: React.FC<HeaderSidebarNavProps> = ({
</nav>
</div>
</div>
</div>
</button>
);
};

Expand Down

0 comments on commit 830b9d7

Please sign in to comment.