diff --git a/app/components/NavItem.tsx b/app/components/NavItem.tsx index 9156f35..807e3da 100644 --- a/app/components/NavItem.tsx +++ b/app/components/NavItem.tsx @@ -9,7 +9,7 @@ export default function NavItem({ children: React.ReactNode; href: string; }>) { - const highlighted = usePathname() === href; + const highlighted = usePathname() == href; return {children}