Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Remove PAYG as option from project creation page and remove dollar icon

Joshen Lim636f17dff6e9
diff --git a/studio/lib/constants/infrastructure.ts b/studio/lib/constants/infrastructure.ts
index f37b728cafd..0baa0f5063d 100644
--- a/studio/lib/constants/infrastructure.ts
+++ b/studio/lib/constants/infrastructure.ts
@@ -23,7 +23,7 @@ export const REGIONS_DEFAULT = REGIONS.EAST_US
export const PRICING_PLANS = {
FREE: 'Free tier',
PRO: 'Pro tier',
- PAYG: 'Pay as you go',
+ // PAYG: 'Pay as you go',
}
export const PRICING_PLANS_DEFAULT = PRICING_PLANS.PRO
diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsx
index eb4297a7a9f..6927b5634d0 100644
--- a/studio/pages/new/[slug].tsx
+++ b/studio/pages/new/[slug].tsx
@@ -369,19 +369,8 @@ export const Wizard = observer(() => {
}
>
{Object.entries(PRICING_PLANS).map(([k, v]) => (
- <Listbox.Option
- key={k}
- label={v}
- value={v}
- addOnBefore={() => <IconDollarSign />}
- >
- {`${v}${
- v === PRICING_PLANS.PRO
- ? ' - $25/month'
- : v === PRICING_PLANS.PAYG
- ? ' - $25/month plus usage costs'
- : ''
- }`}
+ <Listbox.Option key={k} label={v} value={v}>
+ {`${v}${v === PRICING_PLANS.PRO ? ' - $25/month' : ''}`}
</Listbox.Option>
))}
</Listbox>