mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
Merge pull request #3303 from urbit/la/msg-key
chat: add key to outer component to prevent re-render
This commit is contained in:
commit
53f4ad4060
@ -172,6 +172,7 @@ export class ChatWindow extends Component {
|
||||
/>
|
||||
{ messages.map((msg, i) => (
|
||||
<ChatMessage
|
||||
key={msg.uid}
|
||||
unreadRef={this.unreadReference}
|
||||
isLastUnread={
|
||||
props.unreadCount > 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user