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

Function handler

ui/src/App.tsx:28–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 useEffect(() => {
27 const mq = window.matchMedia(query)
28 const handler = () => setMatches(mq.matches)
29 setMatches(mq.matches) // re-sync in case the query changed between renders
30 mq.addEventListener('change', handler)
31 return () => mq.removeEventListener('change', handler)

Callers 2

interpretMethod · 0.50
processProtoBufMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected