diff --git a/thoughts-frontend/components/header.tsx b/thoughts-frontend/components/header.tsx index 99e5425..81bb4a2 100644 --- a/thoughts-frontend/components/header.tsx +++ b/thoughts-frontend/components/header.tsx @@ -27,7 +27,7 @@ export function Header() { - +
{token ? ( diff --git a/thoughts-frontend/components/main-nav.tsx b/thoughts-frontend/components/main-nav.tsx index a689b2c..684b28f 100644 --- a/thoughts-frontend/components/main-nav.tsx +++ b/thoughts-frontend/components/main-nav.tsx @@ -5,7 +5,11 @@ import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; import { SearchInput } from "./search-input"; -export function MainNav() { +interface MainNavProps { + isLoggedIn?: boolean; +} + +export function MainNav({ isLoggedIn }: MainNavProps) { const pathname = usePathname(); return ( );