(e: React.KeyboardEvent<HTMLTextAreaElement>)
| 334 | ]); |
| 335 | |
| 336 | const onKey = (e: React.KeyboardEvent<HTMLTextAreaElement>) => { |
| 337 | if (e.key === "Enter" && (e.ctrlKey || e.metaKey)) { |
| 338 | e.preventDefault(); |
| 339 | send(); |
| 340 | } |
| 341 | }; |
| 342 | |
| 343 | const abort = () => { |
| 344 | abortRef.current?.abort(); |
nothing calls this directly
no outgoing calls
no test coverage detected