Overview
In src/components/navigation/SidebarNavigation.tsx (line 21) pathname is read from window.location.pathname at render time, which yields '' during SSR (hydration mismatch) and never updates on client-side navigation, leaving the active highlight stale. Use the Next.js usePathname() hook.
Overview
In src/components/navigation/SidebarNavigation.tsx (line 21) pathname is read from window.location.pathname at render time, which yields '' during SSR (hydration mismatch) and never updates on client-side navigation, leaving the active highlight stale. Use the Next.js usePathname() hook.