Fix typo in counter app

This commit is contained in:
Jorge Bucaran 2020-03-07 15:37:18 +09:00 committed by GitHub
parent b164243235
commit 48acd86258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")