Update theme & stuff

This commit is contained in:
2025-07-02 15:03:16 -05:00
parent d9dd83b8c1
commit 489009d35d
17 changed files with 534 additions and 189 deletions

View File

@@ -2,10 +2,10 @@
import 'server-only';
import { createServerClient } from '@supabase/ssr';
import type { Database, SupabaseClient } from '@/utils/supabase';
import type { Database } from '@/utils/supabase';
import { cookies } from 'next/headers';
export const useSupabaseServer = async (): Promise<SupabaseClient | undefined> => {
export const SupabaseServer = async () => {
const cookieStore = await cookies();
return createServerClient<Database>(
process.env.NEXT_PUBLIC_SUPABASE_URL!,