From 75ae4db508650f706648a921ed81a8185e7474bb Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 31 May 2023 20:40:49 +0100 Subject: [PATCH] Fixed build issue --- src/app/components/Navbar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/components/Navbar.tsx b/src/app/components/Navbar.tsx index fc22c9d4..8880027b 100644 --- a/src/app/components/Navbar.tsx +++ b/src/app/components/Navbar.tsx @@ -18,13 +18,12 @@ function makeLink(href: string, label: string) { } function Nav() { + const [isOpen, setIsOpen] = useState(false); const pathname = usePathname(); if (pathname === "/") { return null; } - - const [isOpen, setIsOpen] = useState(false); return (