The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Swap logic for isLoading and auth id undefined
Joshen Limd3ac673cfb20
diff --git a/studio/pages/authorize.tsx b/studio/pages/authorize.tsxindex cc40fb28461..86559bebe6e 100644--- a/studio/pages/authorize.tsx+++ b/studio/pages/authorize.tsx@@ -85,18 +85,6 @@ const APIAuthorizationPage: NextPageWithLayout = () => {}}- if (auth_id === undefined) {- return (- <FormPanel header={<p>Authorization for API access</p>}>- <div className="w-[500px] px-8 py-6">- <Alert withIcon variant="warning" title="Missing authorization ID">- Please provide a valid authorization ID in the URL- </Alert>- </div>- </FormPanel>- )- }-if (isLoading) {return (<FormPanel header={<p>Authorize API access</p>}>@@ -109,6 +97,18 @@ const APIAuthorizationPage: NextPageWithLayout = () => {)}+ if (auth_id === undefined) {+ return (+ <FormPanel header={<p>Authorization for API access</p>}>+ <div className="w-[500px] px-8 py-6">+ <Alert withIcon variant="warning" title="Missing authorization ID">+ Please provide a valid authorization ID in the URL+ </Alert>+ </div>+ </FormPanel>+ )+ }+if (isError) {return (<FormPanel header={<p>Authorize API access</p>}>