From 48acd862586847ef3d9310c5be4467aa3481744f Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 7 Mar 2020 15:37:18 +0900 Subject: [PATCH] Fix typo in counter app --- docs/src/pages/Home/counterCode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")