diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx index 902099c..aa8acd2 100644 --- a/app/(marketing)/layout.tsx +++ b/app/(marketing)/layout.tsx @@ -5,7 +5,8 @@ import { cn } from "@/lib/utils" import { buttonVariants } from "@/components/ui/button" import { MainNav } from "@/components/main-nav" import { SiteFooter } from "@/components/site-footer" - +import { getCurrentUser } from "@/lib/session" +import { UserAccountNav } from "@/components/user-account-nav" interface MarketingLayoutProps { children: React.ReactNode } @@ -13,13 +14,15 @@ interface MarketingLayoutProps { export default async function MarketingLayout({ children, }: MarketingLayoutProps) { + const user = await getCurrentUser() return (