diff --git a/apps/studio/lib/constants/index.ts b/apps/studio/lib/constants/index.ts index 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.75 export 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.tsx deleted file mode 100644 index 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} - - - ) -}