()
| 68 | useEffect(() => { |
| 69 | if (thirdMode) { |
| 70 | const handleClick = () => { |
| 71 | if (document.pointerLockElement !== document.body) { |
| 72 | document.body.requestPointerLock(); |
| 73 | } |
| 74 | }; |
| 75 | window.addEventListener("click", handleClick); |
| 76 | return () => window.removeEventListener("click", handleClick); |
| 77 | } |
nothing calls this directly
no outgoing calls
no test coverage detected