The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add is platform check in with Auth
Joshen Lim35ba4914201f
diff --git a/studio/hooks/misc/withAuth.tsx b/studio/hooks/misc/withAuth.tsxindex 787b0ab730e..875f92e49f0 100644--- a/studio/hooks/misc/withAuth.tsx+++ b/studio/hooks/misc/withAuth.tsx@@ -50,7 +50,7 @@ export function withAuth<T>(},})- const isLoggedIn = Boolean(session)+ const isLoggedIn = IS_PLATFORM ? Boolean(session) : trueconst isAccessingBlockedPage =!IS_PLATFORM &&