diff --git a/apps/web/app/components/ui/Navigation/DesktopNav.tsx b/apps/web/app/components/ui/Navigation/DesktopNav.tsx index 0f2842e..f96d7a8 100644 --- a/apps/web/app/components/ui/Navigation/DesktopNav.tsx +++ b/apps/web/app/components/ui/Navigation/DesktopNav.tsx @@ -153,6 +153,8 @@ export function DesktopNav({ useEffect(() => clearCloseTimer, [clearCloseTimer]); + useEffect(() => closeGroup(), [pathname, closeGroup]); + const columnLinks = useCallback((groupId: string): HTMLElement[] => { const nav = navRef.current; if (!nav) return []; @@ -490,6 +492,7 @@ export function DesktopNav({