mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-14 18:16:01 -04:00
Remove supabase token
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user