From 9c82f5e5c659a3ab1494260539a0a20ade6f4ff4 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sat, 4 Jan 2025 21:30:51 +0100 Subject: [PATCH] no full reload navbar --- src/components/Navbar.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 8b5692e..856db97 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,6 +1,7 @@ "use client"; import { usePathname } from "next/navigation"; +import Link from "next/link"; export default function Navbar() { const pathname = usePathname(); @@ -9,7 +10,7 @@ export default function Navbar() {