Skip to content

Commit dcfbb79

Browse files
Merge pull request #169 from schalkventer/patch-1
2 parents 452e1b3 + e03c458 commit dcfbb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ It's a single HTML file, and there's no build or tooling. You can edit it with n
177177
<${Header} name="ToDo's (${page})" />
178178
<ul>
179179
${todos.map(todo => html`
180-
<li>${todo}</li>
180+
<li key="${todo}">${todo}</li>
181181
`)}
182182
</ul>
183183
<button onClick=${() => this.addTodo()}>Add Todo</button>

0 commit comments

Comments
 (0)