The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: ConfirmationModal to show danger button type
phamhieua1ad60307594
diff --git a/studio/components/ui/ConfirmationModal.tsx b/studio/components/ui/ConfirmationModal.tsxindex 731a9d6a7d3..a99758f8101 100644--- a/studio/components/ui/ConfirmationModal.tsx+++ b/studio/components/ui/ConfirmationModal.tsx@@ -52,7 +52,7 @@ const ConfirmationModal: FC<Props> = ({<Button block type="secondary" onClick={onSelectCancel}>Cancel</Button>- <Button block type="primary" danger={danger} loading={loading} onClick={onConfirm}>+ <Button block type={danger ? 'danger' : 'primary'} loading={loading} onClick={onConfirm}>{loading ? buttonLoadingLabel : buttonLabel}</Button></div>