diff --git a/docs/src/pages/Home/counterCode.js b/docs/src/pages/Home/counterCode.js index 95ed029..55f48ce 100644 --- a/docs/src/pages/Home/counterCode.js +++ b/docs/src/pages/Home/counterCode.js @@ -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")