The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: remove dead telemetry code (#47950)
Pamela Chia1b1b1ea0e03e
diff --git a/apps/studio/lib/constants/index.ts b/apps/studio/lib/constants/index.tsindex 2dd90f2652d..b177951c716 100644--- a/apps/studio/lib/constants/index.ts+++ b/apps/studio/lib/constants/index.ts@@ -59,12 +59,6 @@ export const GOTRUE_ERRORS = {export const STRIPE_PUBLIC_KEY =process.env.NEXT_PUBLIC_STRIPE_PUBLIC_KEY || 'pk_test_XVwg5IZH3I9Gti98hZw6KRzd00v5858heG'-export const POSTHOG_URL =- process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging' ||- process.env.NEXT_PUBLIC_ENVIRONMENT === 'local'- ? 'https://ph.supabase.green'- : 'https://ph.supabase.com'-export const USAGE_APPROACHING_THRESHOLD = 0.75export const DOCS_URL = process.env.NEXT_PUBLIC_DOCS_URL || 'https://supabase.com/docs'diff --git a/apps/www/app/ConsentWrapper.tsx b/apps/www/app/ConsentWrapper.tsxdeleted file mode 100644index 595ad4a0bad..00000000000--- a/apps/www/app/ConsentWrapper.tsx+++ /dev/null@@ -1,24 +0,0 @@-'use client'--import { IS_PLATFORM, PageTelemetry } from 'common'-import { useConsentToast } from 'ui-patterns/consent'-import { API_URL } from '~/lib/constants'--interface ConsentWrapperProps {- children: React.ReactNode-}--export function ConsentWrapper({ children }: ConsentWrapperProps) {- const { hasAcceptedConsent } = useConsentToast()-- return (- <>- {children}- <PageTelemetry- API_URL={API_URL}- hasAcceptedConsent={hasAcceptedConsent}- enabled={IS_PLATFORM}- />- </>- )-}