Fix typo in counter app
This commit is contained in:
parent
b164243235
commit
48acd86258
|
@ -5,7 +5,7 @@ app({
|
|||
view: state =>
|
||||
h("div", {}, [
|
||||
h("h1", {}, state),
|
||||
h("button", { onclick: state => state - 1 }, "subtract"),
|
||||
h("button", { onclick: state => state - 1 }, "substract"),
|
||||
h("button", { onclick: state => state + 1 }, "add")
|
||||
]),
|
||||
node: document.getElementById("app")
|
||||
|
|
Loading…
Reference in New Issue