Skip to content
Snippets Groups Projects
Unverified Commit 066cf25f authored by Yash Rajpal's avatar Yash Rajpal Committed by GitHub
Browse files

fix: Invalid message draft (#29474)

parent c9279bfc
No related branches found
No related tags found
No related merge requests found
---
'@rocket.chat/meteor': minor
---
Fixed invalid message draft issue.
......@@ -77,7 +77,9 @@ const ComposerMessage = ({ rid, tmid, readOnly, onSend, ...props }: ComposerMess
);
}
return <MessageBox readOnly={readOnly ?? false} rid={rid} tmid={tmid} {...composerProps} showFormattingTips={true} {...props} />;
return (
<MessageBox readOnly={readOnly ?? false} key={rid} rid={rid} tmid={tmid} {...composerProps} showFormattingTips={true} {...props} />
);
};
export default memo(ComposerMessage);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment