MCPcopy Create free account
hub / github.com/codeaashu/claude-code / handler

Function handler

web/hooks/useReducedMotion.ts:21–21  ·  view source on GitHub ↗
(e: MediaQueryListEvent)

Source from the content-addressed store, hash-verified

19 useEffect(() => {
20 const mq = window.matchMedia("(prefers-reduced-motion: reduce)");
21 const handler = (e: MediaQueryListEvent) => setReducedMotion(e.matches);
22 mq.addEventListener("change", handler);
23 return () => mq.removeEventListener("change", handler);
24 }, []);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected