()
| 314 | return; |
| 315 | } |
| 316 | const onAbort = (): void => { |
| 317 | signal.removeEventListener('abort', onAbort); |
| 318 | reject(new Error('Computer Use permission dialog aborted')); |
| 319 | }; |
| 320 | signal.addEventListener('abort', onAbort); |
| 321 | setToolJSX({ |
| 322 | jsx: React.createElement(ComputerUseApproval, { |
nothing calls this directly
no outgoing calls
no test coverage detected