Skip to content

Commit

Permalink
fix: appending mention to draft content (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
amycatgirl authored Dec 17, 2024
1 parent 03f9f76 commit bf951e5
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 bf951e5

Please sign in to comment.