mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-29 06:43:17 -05:00
Add back deleted file
This commit is contained in:
6
app/hooks/usePrefersReducedMotion.ts
Normal file
6
app/hooks/usePrefersReducedMotion.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useMediaQuery } from "./useMediaQuery";
|
||||
|
||||
/** `prefers-reduced-motion` media query; `false` on the server and the first client render. */
|
||||
export function usePrefersReducedMotion() {
|
||||
return useMediaQuery("(prefers-reduced-motion: reduce)");
|
||||
}
|
||||
Reference in New Issue
Block a user