mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 01:45:28 +00:00
fix: appending mention to draft content (#1065)
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user