mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
fix: appending mention to draft content (#1065)
This commit is contained in:
parent
03f9f7673d
commit
bf951e59ee
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ export default observer(({ channel }: Props) => {
|
|||
if (!state.draft.has(channel._id)) {
|
||||
setMessage(text);
|
||||
} else {
|
||||
setMessage(`${state.draft.get(channel._id)}\n${text}`);
|
||||
setMessage(`${state.draft.get(channel._id)?.content}\n${text}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue