diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx index 902099c..071e549 100644 --- a/app/(marketing)/layout.tsx +++ b/app/(marketing)/layout.tsx @@ -5,6 +5,7 @@ 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" interface MarketingLayoutProps { children: React.ReactNode @@ -13,22 +14,27 @@ interface MarketingLayoutProps { export default async function MarketingLayout({ children, }: MarketingLayoutProps) { + + const user = await getCurrentUser() + return (