mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/composer: clear reply when starting editing
This commit is contained in:
parent
709428616b
commit
0d3536a592
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ const MessageComposer = () => {
|
|||
setState({
|
||||
media: isMedia ? evtContent as MediaMessageEventContent : null,
|
||||
text: (!evt.content.filename || evt.content.filename !== evt.content.body) ? (evtContent.body ?? "") : "",
|
||||
replyTo: null,
|
||||
})
|
||||
textInput.current?.focus()
|
||||
}, [room.roomID])
|
||||
|
|
Loading…
Add table
Reference in a new issue