From 6d8f2f6e2d5dcb319e4f1e33259c7de10f0f043e Mon Sep 17 00:00:00 2001 From: Mike Karl Date: Fri, 13 Feb 2026 10:06:48 +0100 Subject: [PATCH] refactor(NavItem): restructure Link component for improved readability and maintainability --- app/components/NavItem.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/components/NavItem.tsx b/app/components/NavItem.tsx index 807e3da..cd85040 100644 --- a/app/components/NavItem.tsx +++ b/app/components/NavItem.tsx @@ -10,7 +10,16 @@ export default function NavItem({ href: string; }>) { const highlighted = usePathname() == href; - return - {children} - + return ( + + {children} +