The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Disable cancel button when creating org (#21653)
Joshen Limedcc89ce81fc
diff --git a/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx b/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsxindex 804ea1b0d62..59ee3e0b6a3 100644--- a/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx+++ b/apps/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx@@ -197,7 +197,11 @@ const NewOrgForm = ({ onPaymentMethodReset }: NewOrgFormProps) => {}footer={<div key="panel-footer" className="flex w-full items-center justify-between">- <Button type="default" onClick={() => router.push('/projects')}>+ <Button+ type="default"+ disabled={newOrgLoading}+ onClick={() => router.push('/projects')}+ >Cancel</Button><div className="flex items-center space-x-3">@@ -216,7 +220,7 @@ const NewOrgForm = ({ onPaymentMethodReset }: NewOrgFormProps) => {</div>}>- <Panel.Content className="pt-0">+ <Panel.Content><p className="text-sm">This is your organization within Supabase.</p><p className="text-sm text-foreground-light">For example, you can use the name of your company or department.