()
| 48 | const nodeRef = useRef(null); |
| 49 | useEffect(() => { |
| 50 | const handleResize = () => { |
| 51 | setWidth(window.innerWidth); |
| 52 | setHeight(window.innerHeight); |
| 53 | }; |
| 54 | const node = nodeRef.current; |
| 55 | node.addEventListener("click", clickHandler); |
| 56 | window.addEventListener("resize", handleResize); |
nothing calls this directly
no outgoing calls
no test coverage detected