diff --git a/src/core/utils.ts b/src/core/utils.ts index d22a2fa..36d49cf 100644 --- a/src/core/utils.ts +++ b/src/core/utils.ts @@ -21,7 +21,7 @@ export const prefersReducedMotion = (() => { let shouldReduceMotion: boolean | undefined = undefined; return () => { - if (shouldReduceMotion === undefined && typeof window !== "undefined") { + if (shouldReduceMotion === undefined && typeof window !== 'undefined') { const mediaQuery = matchMedia('(prefers-reduced-motion: reduce)'); shouldReduceMotion = !mediaQuery || mediaQuery.matches; }