Skip to content
Snippets Groups Projects
Unverified Commit 47b69f94 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12402 from Tainan404/issue-7926

Fix re-renders when another chat receives new messages
parents 61da0181 6e57ca81
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ const Chat = (props) => {
);
};
export default withShortcutHelper(injectWbResizeEvent(injectIntl(memo(Chat))), ['hidePrivateChat', 'closePrivateChat']);
export default memo(withShortcutHelper(injectWbResizeEvent(injectIntl(Chat)), ['hidePrivateChat', 'closePrivateChat']));
const propTypes = {
chatID: PropTypes.string.isRequired,
......
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