6 lines
212 B
TypeScript
6 lines
212 B
TypeScript
import { createClientComponentClient } from '@supabase/auth-helpers-nextjs'
|
|
import type { Database } from '@/types/supabase'
|
|
|
|
export const createClient = () => {
|
|
return createClientComponentClient<Database>()
|
|
} |