aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMark Holmes <github@markholmes.org>2024-02-07 00:13:32 -0800
committerGitHub <noreply@github.com>2024-02-07 08:13:32 +0000
commit978e56bf9b2f0258c341fb7f3a0fcbd2d3a3ac4a (patch)
tree3e8e07fa15c3d7f7f2b953c81d9177a3615c1162 /README.md
parenta91d6c49d81440d8ace1bb20d2eda4f656cb3bc1 (diff)
downloadlustre-978e56bf9b2f0258c341fb7f3a0fcbd2d3a3ac4a.tar.gz
lustre-978e56bf9b2f0258c341fb7f3a0fcbd2d3a3ac4a.zip
🔀 Update readme example. (#44)
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(" - ")])
])
}
```