From e518194d41bcfa9f44789f1deab40a54651ec9a4 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Fri, 1 Sep 2023 23:32:24 -0600 Subject: [PATCH] Fix --- src/app/_components/Header.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/_components/Header.tsx b/src/app/_components/Header.tsx index 87cbdcb..2a9c828 100644 --- a/src/app/_components/Header.tsx +++ b/src/app/_components/Header.tsx @@ -5,7 +5,6 @@ import Image from "next/image"; import Link from "next/link"; import { useRouter, usePathname } from "next/navigation"; import { env } from "@/env.mjs"; -import Loading from "./Loading"; import { dark } from "@clerk/themes"; interface NavbarProps { @@ -15,7 +14,7 @@ interface NavbarProps { export const dynamic = "force-dynamic"; const Navbar = ({ title }: NavbarProps) => { - const { isLoaded, isSignedIn } = useUser(); + const { isSignedIn } = useUser(); const router = useRouter(); const pathname = usePathname(); @@ -61,7 +60,7 @@ const Navbar = ({ title }: NavbarProps) => { - {!isLoaded ? : navigationMenu()} + {navigationMenu()}