Skip to content

Commit

Permalink
fix(composer): properly append mention to draft content
Browse files Browse the repository at this point in the history
Signed-off-by: Amy <[email protected]>
  • Loading branch information
amycatgirl committed Dec 1, 2024
1 parent 478d375 commit 459cd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/messaging/MessageBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
}

Expand Down

0 comments on commit 459cd5e

Please sign in to comment.