diff --git a/apps/nextjs/src/app/_components/auth-showcase.tsx b/apps/nextjs/src/app/_components/auth-showcase.tsx index 2e8fdbb29..3ba21ac29 100644 --- a/apps/nextjs/src/app/_components/auth-showcase.tsx +++ b/apps/nextjs/src/app/_components/auth-showcase.tsx @@ -5,8 +5,7 @@ import { createServerComponentClient } from "@supabase/auth-helpers-nextjs"; import { signOut } from "../auth/actions"; export async function AuthShowcase() { - const cooks = cookies(); - const supabase = createServerComponentClient({ cookies: () => cooks }); + const supabase = createServerComponentClient({ cookies }); const user = await supabase.auth.getUser(); if (!user.data.user) {