eduproj2/app/page.tsx
2023-08-01 18:53:51 -04:00

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>;
}