diff --git a/app/layout.tsx b/app/layout.tsx index 2093f52..4e02f23 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,8 +2,6 @@ "use client"; -import {SpeedInsights} from "@vercel/speed-insights/next"; -import {Analytics} from "@vercel/analytics/next"; import "./globals.css"; import {Roboto} from 'next/font/google'; @@ -22,16 +20,6 @@ export default function RootLayout({ }: { children: React.ReactNode; }) { - const [consent, setConsent] = useState(null); - - useEffect(() => { - const storedConsent = localStorage.getItem("CookieConsent"); - setConsent(storedConsent); - }, []); - - const handleConsentChange = (newConsent: string) => { - setConsent(newConsent); - }; return (