From 2d36b03370f3d62051d9bee77055339ff587acf7 Mon Sep 17 00:00:00 2001 From: "victormanuel.caverogracia" <> Date: Mon, 7 Sep 2026 11:41:25 +0200 Subject: [PATCH] fix(build): remove untracked consent and CookieBanner imports from main.jsx --- dashboard/src/main.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dashboard/src/main.jsx b/dashboard/src/main.jsx index 27408fc..7fa0107 100644 --- a/dashboard/src/main.jsx +++ b/dashboard/src/main.jsx @@ -7,8 +7,6 @@ import { capture as captureAttribution } from './lib/attribution' import PricingPage from './components/PricingPage' import AccountPage from './components/AccountPage' import LoginModal from './components/LoginModal' -import { applyConsent } from './lib/consent' -import CookieBanner from './components/CookieBanner' const App = lazy(() => import('./App.jsx')) const Legal = lazy(() => import('./Legal.jsx')) @@ -115,17 +113,12 @@ function Root() { // would destroy the referrer and any UTM params we still need to read. captureAttribution(); -// Start whatever the visitor previously agreed to. Nothing at all on a first -// visit: index.html only publishes the analytics initialiser, it never runs it. -applyConsent(); - createRoot(document.getElementById('root')).render( loading…}> - , )