diff --git a/web/chat/chat.react.js b/web/chat/chat.react.js --- a/web/chat/chat.react.js +++ b/web/chat/chat.react.js @@ -17,4 +17,6 @@ ); } -export default Chat; +const MemoizedChat: React.ComponentType<{}> = React.memo<{}>(Chat); + +export default MemoizedChat;