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