diff --git a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx index 1eaa4bf0416..6214f8f7a18 100644 --- a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx @@ -6,47 +6,6 @@ import { toast } from 'sonner' import { useConsentState } from 'common' import Panel from 'components/ui/Panel' import { useSendResetMutation } from 'data/telemetry/send-reset-mutation' -import { useLocalStorageQuery } from 'hooks/misc/useLocalStorage' -import { LOCAL_STORAGE_KEYS } from 'common/constants/local-storage' - -export const PrivacyUpdateBanner = () => { - const [privacyUpdateAcknowledged, setPrivacyUpdateAcknowledged] = useLocalStorageQuery( - LOCAL_STORAGE_KEYS.PRIVACY_NOTICE_ACKNOWLEDGED, - false - ) - - if (privacyUpdateAcknowledged) return null - - return ( - - - - NOTICE - - Privacy Policy Update – Effective May 28, 2025 - - - We’ve updated our{' '} - - Privacy Policy - {' '} - to clarify how we use AI features, marketing tools, cookies, and your data. By continuing to - use Supabase after May 28, you agree to the new terms. Questions? Contact{' '} - - our team - - . - - } - className="absolute top-2 right-2 px-1" - onClick={() => setPrivacyUpdateAcknowledged(true)} - tooltip={{ content: { side: 'bottom', text: 'Dismiss' } }} - /> - - ) -} export const AnalyticsSettings = () => { const { hasAccepted, acceptAll, denyAll, categories } = useConsentState() diff --git a/apps/studio/pages/org/[slug]/index.tsx b/apps/studio/pages/org/[slug]/index.tsx index 73824ada69e..7b0f68f82d0 100644 --- a/apps/studio/pages/org/[slug]/index.tsx +++ b/apps/studio/pages/org/[slug]/index.tsx @@ -8,7 +8,6 @@ import { ScaffoldContainerLegacy } from 'components/layouts/Scaffold' import { useAutoProjectsPrefetch } from 'data/projects/projects-query' import { PROJECT_STATUS } from 'lib/constants' import type { NextPageWithLayout } from 'types' -import { PrivacyUpdateBanner } from 'components/interfaces/Account/Preferences/AnalyticsSettings' const ProjectsPage: NextPageWithLayout = () => { const [search, setSearch] = useState('') @@ -22,7 +21,6 @@ const ProjectsPage: NextPageWithLayout = () => { return (
- { const router = useRouter() @@ -42,7 +41,6 @@ const OrganizationsPage: NextPageWithLayout = () => { return ( - Your Organizations