+
+
-
+
+
+
+
+
+
+
+
+
+
);
diff --git a/src/components/ui/NavLink.tsx b/src/components/ui/NavLink.tsx
index 35e3b740..2c67834b 100644
--- a/src/components/ui/NavLink.tsx
+++ b/src/components/ui/NavLink.tsx
@@ -9,9 +9,11 @@ import clsxm from '@/lib/clsxm';
const NavLink = ({
href,
children,
+ onClick,
}: {
href: string;
children: React.ReactNode;
+ onClick?: React.MouseEventHandler
;
}) => {
const pathname = usePathname();
const isActive = href === '/' ? pathname === '/' : pathname.startsWith(href);
@@ -19,6 +21,7 @@ const NavLink = ({
return (