From 6b375051e362b86bc51449a1ae3652d89df33b9e Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Wed, 12 Aug 2020 12:11:18 -0700 Subject: [PATCH] chat: add key to outer component to prevent re-render --- pkg/interface/src/apps/chat/components/lib/chat-window.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/interface/src/apps/chat/components/lib/chat-window.tsx b/pkg/interface/src/apps/chat/components/lib/chat-window.tsx index b16f9d3ce..36a3a2c45 100644 --- a/pkg/interface/src/apps/chat/components/lib/chat-window.tsx +++ b/pkg/interface/src/apps/chat/components/lib/chat-window.tsx @@ -172,6 +172,7 @@ export class ChatWindow extends Component { /> { messages.map((msg, i) => ( 0 &&