fix more examples
This commit is contained in:
1 parent
db35a9b48c
commit
407a82588a
59 files changed
+166
-195
No files matched your search
+1
-1
@@ -26,7 +26,7 @@ fn app() -> Element {
|
||||
}
|
||||
});
|
||||
|
||||
rsx! {
|
||||
render! {
|
||||
h1 { "High-Five counter: {count}" }
|
||||
button { onclick: move |_| count += 1, "Up high!" }
|
||||
button { onclick: move |_| count -= 1, "Down low!" }
|
||||
|
||||
Reference in new issue
Block a user