Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Proper fix.
Mike Caob294c8ef72c7
diff --git a/hooks/useTheme.js b/hooks/useTheme.jsindex 1231e2838..9807f8667 100644--- a/hooks/useTheme.js+++ b/hooks/useTheme.js@@ -6,7 +6,7 @@ import { useEffect } from 'react';export default function useTheme() {const defaultTheme =- typeof window !== undefined+ typeof window !== 'undefined'? window?.matchMedia('prefers-color-scheme: dark')?.matches? 'dark': 'light'