2023-08-01 22:53:51 +00:00
|
|
|
import { createServerComponentClient } from "@supabase/auth-helpers-nextjs";
|
|
|
|
import { cookies } from "next/headers";
|
2023-08-01 22:38:06 +00:00
|
|
|
|
2023-08-01 22:53:51 +00:00
|
|
|
export const dynamic = "force-dynamic";
|
2023-08-01 22:38:06 +00:00
|
|
|
|
|
|
|
export default async function Index() {
|
2023-08-01 22:53:51 +00:00
|
|
|
const supabase = createServerComponentClient({ cookies });
|
2023-08-01 22:38:06 +00:00
|
|
|
|
|
|
|
const {
|
|
|
|
data: { user },
|
2023-08-01 22:53:51 +00:00
|
|
|
} = await supabase.auth.getUser();
|
2023-08-01 22:38:06 +00:00
|
|
|
|
2023-08-01 22:53:51 +00:00
|
|
|
return <div className="w-full flex flex-col items-center"></div>;
|
2023-08-01 22:38:06 +00:00
|
|
|
}
|