Skip to content

Commit 42cd563

Browse files
committed
mark as pure
1 parent c996cc4 commit 42cd563

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/svelte/src/motion/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ export * from './tweened.js';
77
* A media query that matches if the user has requested reduced motion.
88
* @type {MediaQuery}
99
*/
10-
export const prefersReducedMotion = new MediaQuery('(prefers-reduced-motion: reduce)');
10+
export const prefersReducedMotion = /*@__PURE__*/ new MediaQuery(
11+
'(prefers-reduced-motion: reduce)'
12+
);

0 commit comments

Comments
 (0)