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

Function handler

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

Source from the content-addressed store, hash-verified

9 const mq = window.matchMedia(query);
10 setMatches(mq.matches);
11 const handler = (e: MediaQueryListEvent) => setMatches(e.matches);
12 mq.addEventListener("change", handler);
13 return () => mq.removeEventListener("change", handler);
14 }, [query]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected