(e)
| 526 | }; |
| 527 | |
| 528 | const onInput: FormEventHandler<HTMLTextAreaElement> = (e) => { |
| 529 | const target = e.currentTarget; |
| 530 | |
| 531 | if (!target) { |
| 532 | return; |
| 533 | } |
| 534 | |
| 535 | onUpdate(target.value); |
| 536 | checkMention(); |
| 537 | checkEmoji(); |
| 538 | }; |
| 539 | |
| 540 | const verifyFile = (file: File) => { |
| 541 | const isValidType = allowedContentImage.includes(file.type); |
nothing calls this directly
no test coverage detected