Skip to content

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

fix: dont display confirmation modal on free plan project creation (#35221)

Kevin Grüneberg2ac7d651414d
diff --git a/apps/studio/pages/new/[slug].tsx b/apps/studio/pages/new/[slug].tsx
index b12e1324ce2..620ebe00026 100644
--- a/apps/studio/pages/new/[slug].tsx
+++ b/apps/studio/pages/new/[slug].tsx
@@ -417,8 +417,9 @@ const Wizard: NextPageWithLayout = () => {
const availableComputeCredits = organizationProjects.length === 0 ? 10 : 0
- const additionalMonthlySpend =
- instanceSizeSpecs[instanceSize as DesiredInstanceSize]!.priceMonthly - availableComputeCredits
+ const additionalMonthlySpend = isFreePlan
+ ? 0
+ : instanceSizeSpecs[instanceSize as DesiredInstanceSize]!.priceMonthly - availableComputeCredits
return (
<Form_Shadcn_ {...form}>