From aaf78339b5e28eac465859e0da947ce036dc4302 Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Wed, 7 May 2025 12:34:22 -1000 Subject: [PATCH] Use default options when calling supabase createClient (#117) --- app/lib/supabase/client.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/lib/supabase/client.ts b/app/lib/supabase/client.ts index 815aaa41..00bc61eb 100644 --- a/app/lib/supabase/client.ts +++ b/app/lib/supabase/client.ts @@ -133,12 +133,7 @@ export function getSupabase() { } // Create and cache the Supabase client - supabaseClientInstance = createClient(supabaseUrl, supabaseAnonKey, { - auth: { - persistSession: true, - autoRefreshToken: true, - }, - }); + supabaseClientInstance = createClient(supabaseUrl, supabaseAnonKey); return supabaseClientInstance; }