The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: remove payment method type
Kevin Grüneberg2612bd23fde3
diff --git a/studio/components/interfaces/Billing/Billing.types.ts b/studio/components/interfaces/Billing/Billing.types.tsdeleted file mode 100644index 15758bc7238..00000000000--- a/studio/components/interfaces/Billing/Billing.types.ts+++ /dev/null@@ -1,24 +0,0 @@-export interface PaymentMethod {- id: string- billing_details: object- card: {- brand: string- checks: object- country: string- exp_month: number- exp_year: number- fingerprint: string- funding: string- generated_from: any- last4: string- networks: object- three_d_secure_usage: object- wallet: any- }- created: number- customer: string- livemode: boolean- metadata: object- object: string- type: string-}diff --git a/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx b/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsxindex fa0640e50c5..f0ec0cc0c49 100644--- a/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx+++ b/studio/components/interfaces/Organization/NewOrg/NewOrgForm.tsx@@ -7,7 +7,7 @@ import { useStore } from 'hooks'import { post } from 'lib/common/fetch'import Panel from 'components/ui/Panel'import { useElements, useStripe, PaymentElement } from '@stripe/react-stripe-js'-import { PaymentMethod } from 'components/interfaces/Billing/Billing.types'+import type { PaymentMethod } from '@stripe/stripe-js'import { getURL } from 'lib/helpers'import InformationBox from 'components/ui/InformationBox'@@ -291,7 +291,7 @@ const NewOrgForm = ({ onPaymentMethodReset }: NewOrgFormProps) => {</Panel.Content><Panel.Content>- {paymentMethod ? (+ {paymentMethod && paymentMethod.card ? (<div key={paymentMethod.id} className="flex items-center justify-between"><div className="flex items-center space-x-8"><img