diff --git a/packages/website/src/pages/index.js b/packages/website/src/pages/index.js index 7ca26aa6..eb1d8853 100755 --- a/packages/website/src/pages/index.js +++ b/packages/website/src/pages/index.js @@ -12,16 +12,6 @@ import 'tailwindcss/tailwind.css'; function Home() { const { withBaseUrl } = useBaseUrlUtils(); - if ( - localStorage.theme === 'dark' || - (!('theme' in localStorage) && - window.matchMedia('(prefers-color-scheme: dark)').matches) - ) { - document.querySelector('html').classList.add('dark'); - } else { - document.querySelector('html').classList.remove('dark'); - } - return ( <>