diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx index e817d9075f9..4d547f3857e 100644 --- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx +++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx @@ -1,8 +1,10 @@ +import { AlertOctagon, MinusCircle, PauseCircle } from 'lucide-react' + import type { ProjectInfo } from 'data/projects/projects-query' import type { OrgSubscription, ProjectAddon } from 'data/subscriptions/types' -import { AlertOctagon, MinusCircle, PauseCircle } from 'lucide-react' import { PricingInformation } from 'shared-data' -import { Alert, Modal } from 'ui' +import { Modal } from 'ui' +import { Admonition } from 'ui-patterns' export interface DowngradeModalProps { visible: boolean @@ -76,6 +78,7 @@ const DowngradeModal = ({
- -

- If you're already past the limits of the Free Plan, your projects could become - unresponsive or enter read only mode. -

-
+ description="If you're already past the limits of the Free Plan, your projects could become + unresponsive or enter read only mode." + /> {((previousProjectAddons.length ?? 0) > 0 || (hasInstancesOnMicro && downgradingToNano)) && ( - +
    {previousProjectAddons.map((project) => ( @@ -111,39 +110,32 @@ const DowngradeModal = ({ ))}
-
+ )}