diff --git a/src/app/page.tsx b/src/app/page.tsx index b60b138..cdc4f54 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -109,6 +109,9 @@ export default function Page() { ); useEffect(() => { + if (typeof window === 'undefined') { + return; + } window .matchMedia('(min-width: 1100px)') .addEventListener('change', e => setMatches(e.matches));