chore: rollback some unecessary changes
This commit is contained in:
1 parent
e7e21fa2f0
commit
0dce3e03c8
6 files changed
+18
-18
No files matched your search
+2
-2
@@ -11,9 +11,9 @@ fn main() {
|
||||
fn app(cx: Scope) -> Element {
|
||||
let mut count = use_state(cx, || 0);
|
||||
|
||||
render! {
|
||||
cx.render(rsx! {
|
||||
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