From b1d2382c93818b2c4f0c1e33c1c5b46d559eed5d Mon Sep 17 00:00:00 2001 From: Timo Lins Date: Tue, 24 Aug 2021 12:21:05 +0200 Subject: [PATCH] Fix linting error --- src/core/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }