MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / handler

Function handler

ui/src/components/PageSidebarLayout.tsx:44–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 useEffect(() => {
43 const mq = window.matchMedia(query)
44 const handler = () => setMatches(mq.matches)
45 setMatches(mq.matches)
46 mq.addEventListener('change', handler)
47 return () => mq.removeEventListener('change', handler)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected