Skip to content

Commit 96cb5bc

Browse files
committed
fix(frontend): close dropdown on link click
1 parent a5dd66a commit 96cb5bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/Navbar/DesktopNavigation.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const DesktopNavigation: React.FC<DesktopNavigationProps> = ({
5353
className={`${
5454
pathname === `/${navLink.path_name}` ? "font-bold" : ""
5555
}`}
56+
onClick={() => setOpenDropdownIndex(null)}
5657
>
5758
{navLink.title}
5859
</Link>

0 commit comments

Comments
 (0)