()
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected