Add key attr to log lines

This commit is contained in:
Simon Ser
2020-06-28 15:13:06 +02:00
parent d1663315e3
commit 73f14f38fa
2 changed files with 6 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ export default function Buffer(props) {
return html`
<div class="logline-list">
${props.buffer.messages.map((msg) => html`
<${LogLine} message=${msg} onNickClick=${props.onNickClick}/>
<${LogLine} key=${msg.key} message=${msg} onNickClick=${props.onNickClick}/>
`)}
</div>
`;