10 lines
356 B
TypeScript
10 lines
356 B
TypeScript
import { createSupabaseClient } from "@xtablo/shared";
|
|
|
|
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;
|
|
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;
|
|
|
|
if (!supabaseUrl || !supabaseAnonKey) {
|
|
throw new Error("Missing Supabase environment variables");
|
|
}
|
|
|
|
export const supabase = createSupabaseClient(supabaseUrl, supabaseAnonKey);
|