14 lines
399 B
TypeScript
14 lines
399 B
TypeScript
import { createServerComponentClient } from "@supabase/auth-helpers-nextjs";
|
|
import { cookies } from "next/headers";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export default async function Index() {
|
|
const supabase = createServerComponentClient({ cookies });
|
|
|
|
const {
|
|
data: { user },
|
|
} = await supabase.auth.getUser();
|
|
|
|
return <div className="w-full flex flex-col items-center"></div>;
|
|
}
|