Skip to content

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

Fix link and spelling on additional costs tooltip (#35323)

Joshen Limf391938030c0
diff --git a/apps/studio/pages/new/[slug].tsx b/apps/studio/pages/new/[slug].tsx
index 620ebe00026..8ba7c0963aa 100644
--- a/apps/studio/pages/new/[slug].tsx
+++ b/apps/studio/pages/new/[slug].tsx
@@ -10,6 +10,7 @@ import { toast } from 'sonner'
import { z } from 'zod'
import { PopoverSeparator } from '@ui/components/shadcn/ui/popover'
+import { components } from 'api-types'
import { useParams } from 'common'
import {
FreeProjectLimitWarning,
@@ -27,12 +28,14 @@ import { SpecialSymbolsCallout } from 'components/interfaces/ProjectCreation/Spe
import DefaultLayout from 'components/layouts/DefaultLayout'
import { WizardLayoutWithoutAuth } from 'components/layouts/WizardLayout'
import DisabledWarningDueToIncident from 'components/ui/DisabledWarningDueToIncident'
+import { InlineLink } from 'components/ui/InlineLink'
import Panel from 'components/ui/Panel'
import PartnerManagedResource from 'components/ui/PartnerManagedResource'
import PasswordStrengthBar from 'components/ui/PasswordStrengthBar'
import { useAvailableOrioleImageVersion } from 'data/config/project-creation-postgres-versions-query'
import { useOverdueInvoicesQuery } from 'data/invoices/invoices-overdue-query'
import { useDefaultRegionQuery } from 'data/misc/get-default-region-query'
+import { useAuthorizedAppsQuery } from 'data/oauth/authorized-apps-query'
import { useFreeProjectLimitCheckQuery } from 'data/organizations/free-project-limit-check-query'
import { useOrganizationsQuery } from 'data/organizations/organizations-query'
import { DesiredInstanceSize, instanceSizeSpecs } from 'data/projects/new-project.constants'
@@ -43,6 +46,7 @@ import {
import { useProjectsQuery } from 'data/projects/projects-query'
import { useSendEventMutation } from 'data/telemetry/send-event-mutation'
import { useCheckPermissions } from 'hooks/misc/useCheckPermissions'
+import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization'
import { withAuth } from 'hooks/misc/withAuth'
import { useFlag } from 'hooks/ui/useFlag'
import { getCloudProviderArchitecture } from 'lib/cloudprovider-utils'
@@ -83,9 +87,6 @@ import { Input } from 'ui-patterns/DataInputs/Input'
import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal'
import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'
import { InfoTooltip } from 'ui-patterns/info-tooltip'
-import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization'
-import { useAuthorizedAppsQuery } from 'data/oauth/authorized-apps-query'
-import { components } from 'api-types'
const sizes: DesiredInstanceSize[] = [
'micro',
@@ -453,13 +454,9 @@ const Wizard: NextPageWithLayout = () => {
<p>
Each project includes a dedicated Postgres instance running on its own
server. You are charged for the{' '}
- <Link
- className="underline"
- href={`/docs/guides/platform/billing-on-supabase`}
- target="_blank"
- >
- Compute resourcse
- </Link>{' '}
+ <InlineLink href="https://supabase.com/docs/guides/platform/billing-on-supabase">
+ Compute resource
+ </InlineLink>{' '}
of that server, independent of your database usage.
</p>
{monthlyComputeCosts > 0 && (