all repos — h3 @ 36a3c9d81c7440bfcdff27177e5915f47be6038a

A tiny, extremely minimalist JavaScript microframework.

Minor fix.
h3rald h3rald@h3rald.com
Fri, 17 Apr 2020 17:06:10 +0200
commit

36a3c9d81c7440bfcdff27177e5915f47be6038a

parent

9de29630732862fa919afa6cbaa4732c11eb2302

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M example/assets/js/components/todo.jsexample/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), ]),