From 978e56bf9b2f0258c341fb7f3a0fcbd2d3a3ac4a Mon Sep 17 00:00:00 2001 From: Mark Holmes Date: Wed, 7 Feb 2024 00:13:32 -0800 Subject: =?UTF-8?q?=F0=9F=94=80=20Update=20readme=20example.=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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(" - ")]) ]) } ``` -- cgit v1.2.3