Minor fix.
h3rald h3rald@h3rald.com
Fri, 17 Apr 2020 17:06:10 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
M
example/assets/js/components/todo.js
→
example/assets/js/components/todo.js
@@ -10,7 +10,7 @@ const removeTodo = (todo) => {
h3.dispatch("todos/remove", data); h3.redraw() }; - return h3(`div.todo-item`, {key: data.key}, [ + return h3(`div.todo-item`, {$key: data.key}, [ h3(`div.todo-content${todoStateClass}`, [ h3("span.todo-text", { onclick: () => toggleTodo(data) }, data.text), ]),