More stuff

This commit is contained in:
2025-07-09 11:54:01 -05:00
parent 2fbb259e62
commit 04f2a48727
16 changed files with 358 additions and 66 deletions

View File

@@ -5,7 +5,7 @@ import { createServerClient } from '@supabase/ssr';
import type { Database } from '@/utils/supabase';
import { cookies } from 'next/headers';
export const SupabaseServer = async () => {
export const useSupabaseServer = async () => {
const cookieStore = await cookies();
return createServerClient<Database>(
process.env.NEXT_PUBLIC_SUPABASE_URL!,