From f1ea5031fb3e3ecf48c0b91573c7892f29692290 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 13 Sep 2025 14:54:10 +0200 Subject: [PATCH] Remove supabase token --- web/components/auth-context.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/components/auth-context.tsx b/web/components/auth-context.tsx index 76c977c4..6ca942d9 100644 --- a/web/components/auth-context.tsx +++ b/web/components/auth-context.tsx @@ -133,13 +133,13 @@ export function AuthProvider(props: { if (fbUser) { setUserCookie(fbUser.toJSON()) - const [user, privateUser, supabaseJwt] = await Promise.all([ + const [user, privateUser] = await Promise.all([ getUserSafe(fbUser.uid), getPrivateUserSafe(), - api('get-supabase-token').catch((e) => { - console.error('Error getting supabase token', e) - return null - }), + // api('get-supabase-token').catch((e) => { + // console.error('Error getting supabase token', e) + // return null + // }), ]) // When testing on a mobile device, we'll be pointed at a local ip or ngrok address, so this will fail // Skipping for now at it seems to work fine without it