()
| 15 | useEffect((): (() => void) | void => { |
| 16 | if (isBrowser) { |
| 17 | const handler = () => { |
| 18 | setState({ |
| 19 | width: window.innerWidth, |
| 20 | height: window.innerHeight, |
| 21 | }); |
| 22 | }; |
| 23 | |
| 24 | window.addEventListener('resize', handler); |
| 25 |
nothing calls this directly
no outgoing calls
no test coverage detected