Page MenuHomePhabricator

D3877.id12117.diff
No OneTemporary

D3877.id12117.diff

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;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 9:15 AM (20 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2604527
Default Alt Text
D3877.id12117.diff (272 B)

Event Timeline