Skip to content

Commit

Permalink
fix click not handling sidebar hide (#2415)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvicensSpacedev authored Apr 9, 2024
1 parent 8f9565e commit 5c5d008
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ export default function SidebarIcon({

if (href || to) {
return (
<IconWrapper onClick={handleClick}>
<IconWrapper>
<GalleryLink
to={to}
href={href}
onClick={handleClick}
// TODO analytics - move tracking here as opposed to manually doing it on parent StandardSidebar.tsx
>
{content}
Expand Down

0 comments on commit 5c5d008

Please sign in to comment.