aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 330a807..a91dcfb 100644
--- a/README.md
+++ b/README.md
@@ -38,9 +38,9 @@ fn view(model) {
let count = int.to_string(model)
div([], [
- button([on_click(Decr)], [text(" + ")]),
+ button([on_click(Incr)], [text(" + ")]),
p([], [text(count)]),
- button([on_click(Incr)], [text(" - ")])
+ button([on_click(Decr)], [text(" - ")])
])
}
```