chore: rollback some unecessary changes

This commit is contained in:
Jonathan Kelley committed 2022-12-23 18:08:23 -05:00
1 parent e7e21fa2f0
commit 0dce3e03c8
6 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -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!" }
}
})
}