Skip to content

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

consent banner visibility (#19875)

Terry Suttonee3aecafa7a7
diff --git a/apps/studio/pages/_app.tsx b/apps/studio/pages/_app.tsx
index c014e9b3f02..a9dea5faaa0 100644
--- a/apps/studio/pages/_app.tsx
+++ b/apps/studio/pages/_app.tsx
@@ -129,7 +129,7 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) {
}
const hasAcknowledgedConsent = localStorage.getItem(LOCAL_STORAGE_KEYS.TELEMETRY_CONSENT)
- if (hasAcknowledgedConsent === null) {
+ if (IS_PLATFORM && hasAcknowledgedConsent === null) {
consentToastId.current = toast(
<ConsentToast onAccept={onAcceptConsent} onOptOut={onOptOut} />,
{