The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: remove wrong non-null assertion operator (#21717)
Alaister Young528285b54d08
diff --git a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsxindex e1cb7292c7c..88c6f9aa91e 100644--- a/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx+++ b/apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx@@ -71,8 +71,8 @@ const CustomDomainConfig = () => {? 'New custom domains are temporarily disabled': 'Custom domains are a Pro plan add-on'}- projectRef={ref as string}- organizationSlug={organization!.slug}+ projectRef={ref}+ organizationSlug={organization?.slug}secondaryText={customDomainsDisabledDueToQuota? 'We are working with our upstream DNS provider before we are able to sign up new custom domains. Please check back in a few hours.'diff --git a/apps/studio/components/ui/UpgradeToPro.tsx b/apps/studio/components/ui/UpgradeToPro.tsxindex ea6a05fddf4..90c4ae72a53 100644--- a/apps/studio/components/ui/UpgradeToPro.tsx+++ b/apps/studio/components/ui/UpgradeToPro.tsx@@ -10,8 +10,8 @@ import { useOrgSubscriptionQuery } from 'data/subscriptions/org-subscription-queinterface UpgradeToProProps {icon?: ReactNodeprimaryText: string- projectRef: string- organizationSlug: string+ projectRef?: string+ organizationSlug?: stringsecondaryText: stringaddon?: 'pitr' | 'customDomain' | 'computeInstance'buttonText?: string@@ -63,8 +63,8 @@ const UpgradeToPro = ({<Linkhref={plan === 'free'- ? `/org/${organizationSlug}/billing?panel=subscriptionPlan`- : `/project/${projectRef}/settings/addons?panel=${addon}`+ ? `/org/${organizationSlug ?? '_'}/billing?panel=subscriptionPlan`+ : `/project/${projectRef ?? '_'}/settings/addons?panel=${addon}`}>{buttonText || (plan === 'free' ? 'Upgrade to Pro' : 'Enable Addon')}