diff --git a/sites/org/src/pages/index.js b/sites/org/src/pages/index.js index 567f6cd6b68..cf2da243b22 100644 --- a/sites/org/src/pages/index.js +++ b/sites/org/src/pages/index.js @@ -53,25 +53,6 @@ const meta = { } export default function Home() { - useEffect(() => { - // Check initial state - console.log('Initial data-theme:', document.documentElement.getAttribute('data-theme')) - console.log('OS prefers dark:', window.matchMedia('(prefers-color-scheme: dark)').matches) - - // Monitor for changes - const observer = new MutationObserver((mutations) => { - mutations.forEach((mutation) => { - if (mutation.attributeName === 'data-theme') { - console.log('data-theme changed to:', document.documentElement.getAttribute('data-theme')) - } - }) - }) - - observer.observe(document.documentElement, { attributes: true }) - - return () => observer.disconnect() - }, []) - return (