Fixed build issue

This commit is contained in:
Khalim Conn-Kowlessar 2023-05-31 20:40:49 +01:00
parent 608c9b82ab
commit 75ae4db508

View file

@ -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 (
<div>
<nav className="bg-brandblue">