10 lines
269 B
TypeScript
10 lines
269 B
TypeScript
"use client";
|
|
|
|
import { createBrowserClient } from "@supabase/ssr";
|
|
import { getSupabasePublicConfig } from "./config";
|
|
|
|
export function createBrowserSupabaseClient() {
|
|
const { url, anonKey } = getSupabasePublicConfig();
|
|
return createBrowserClient(url, anonKey);
|
|
}
|