Skip to content

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

fix build errors

Jonathan Summers-Muirc697a5982e10
diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsx
index a1afd1e2b99..ed26936db50 100644
--- a/studio/pages/new/[slug].tsx
+++ b/studio/pages/new/[slug].tsx
@@ -446,7 +446,6 @@ const Wizard: NextPageWithLayout = () => {
label="Region"
type="select"
value={dbRegion}
- // @ts-ignore
onChange={(value) => setDbRegion(value)}
descriptionText="Select a region close to your users for the best performance."
>
@@ -482,9 +481,7 @@ const Wizard: NextPageWithLayout = () => {
label="Pricing Plan"
layout="horizontal"
value={dbPricingTierKey}
- // @ts-ignore
onChange={onDbPricingPlanChange}
- // @ts-ignore
descriptionText={
<>
Select a plan that suits your needs.&nbsp;
diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsx
index 9457f541fd1..f342e7873ad 100644
--- a/studio/pages/vercel/setupProject.tsx
+++ b/studio/pages/vercel/setupProject.tsx
@@ -176,10 +176,6 @@ const CreateProject = observer(() => {
} else delayedCheckPasswordStrength(value)
}
- function onDbRegionChange(value: string) {
- setDbRegion(value)
- }
-
async function checkPasswordStrength(value: string) {
const { message, strength } = await passwordStrength(value)
setPasswordStrengthScore(strength)