diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 53992e70..8ebef55c 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -58,6 +58,8 @@ export default function Layout({ children }: LayoutProps) { { name: "Contact", href: "/contact" }, ]; + const navItems = user ? userNavigation : navigation; + const scrollToTop = () => { window.scrollTo({ top: 0, behavior: "smooth" }); };