diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 47ca66fd..0baa26b4 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -58,6 +58,10 @@ export default function CodeLayout({ children }: LayoutProps) { { name: "Contact", href: "/contact" }, ]; + const passportHref = profile?.username + ? `/passport/${profile.username}` + : "/passport/me"; + const navItems = user ? userNavigation : navigation; const scrollToTop = () => {