diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsx index 7c4ae8ef073..bcf5ff8b2fb 100644 --- a/studio/pages/vercel/setupProject.tsx +++ b/studio/pages/vercel/setupProject.tsx @@ -4,7 +4,7 @@ import { useRouter } from 'next/router' import { observer, useLocalObservable } from 'mobx-react-lite' import { makeAutoObservable } from 'mobx' import { debounce } from 'lodash' -import { Button, Typography } from '@supabase/ui' +import { Button, Input, Listbox, Select, Typography } from '@supabase/ui' import { Dictionary } from '@supabase/grid' import { useStore } from 'hooks' @@ -16,6 +16,7 @@ import { REGIONS_DEFAULT, DEFAULT_MINIMUM_PASSWORD_STRENGTH, API_URL, + PRICING_PLANS_DEFAULT, } from 'lib/constants' import { VERCEL_INTEGRATION_CONFIGS } from 'lib/vercelConfigs' import { @@ -187,8 +188,8 @@ const CreateProject = observer(() => { } else delayedCheckPasswordStrength(value) } - function onDbRegionChange(e: ChangeEvent) { - setDbRegion(e.target.value) + function onDbRegionChange(value: string) { + setDbRegion(value) } async function checkPasswordStrength(value: string) { @@ -205,6 +206,7 @@ const CreateProject = observer(() => { db_pass: dbPass, db_region: dbRegion, db_sql: dbSql || '', + db_pricing_plan: PRICING_PLANS_DEFAULT, auth_site_url: _store.selectedVercelProjectUrl, vercel_configuration_id: _store.configurationId, } @@ -263,71 +265,64 @@ const CreateProject = observer(() => { return (
- Project details for integration +

Project details for integration

- -
- -
+
- -
- - -
+ + } + />
-
- - -

Select a region close to you for the best performance.

-
+