The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
deprecated: alert - ip restriction removal (#31257)
hallidayo89b3b91341c7
diff --git a/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/RemoveRestrictionModal.tsx b/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/RemoveRestrictionModal.tsxindex 46ad3225e8e..67bec6cbe47 100644--- a/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/RemoveRestrictionModal.tsx+++ b/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/RemoveRestrictionModal.tsx@@ -1,9 +1,10 @@import { useParams } from 'common'import { toast } from 'sonner'-import { Alert, Button, Modal } from 'ui'+import { Button, Modal } from 'ui'import { useNetworkRestrictionsQuery } from 'data/network-restrictions/network-restrictions-query'import { useNetworkRestrictionsApplyMutation } from 'data/network-restrictions/network-retrictions-apply-mutation'+import { Admonition } from 'ui-patterns'interface RemoveRestrictionModalProps {visible: boolean@@ -59,7 +60,6 @@ const RemoveRestrictionModal = ({return (<Modal- closablehideFootersize="medium"visible={visible}@@ -75,10 +75,12 @@ const RemoveRestrictionModal = ({: ", and no longer have access to your project's database."}</p>{isRemovingOnlyRestriction && (- <Alert withIcon variant="warning" title="Database access will no longer be restricted">- Removing all network restrictions will default to your database being accessible from- all IP addresses.- </Alert>+ <Admonition+ type="warning"+ title="Database access will no longer be restricted"+ description="Removing all network restrictions will default to your database being accessible from+ all IP addresses."+ />)}</Modal.Content><Modal.Content className="flex items-center justify-end space-x-2">