docs: fix readme and links
This commit is contained in:
1 parent
57abeb5f4d
commit
e4fac574ed
2 files changed
+7
-9
No files matched your search
+3
-5
@@ -12,10 +12,8 @@ fn app(cx: Scope) -> Element {
|
||||
let count = use_state(&cx, || 0);
|
||||
|
||||
cx.render(rsx! {
|
||||
div {
|
||||
h1 { "High-Five counter: {count}" }
|
||||
button { onclick: move |_| count.set(count + 1), "Up high!" }
|
||||
button { onclick: move |_| count.set(count - 1), "Down low!" }
|
||||
}
|
||||
h1 { "High-Five counter: {count}" }
|
||||
button { onclick: move |_| count.set(count + 1), "Up high!" }
|
||||
button { onclick: move |_| count.set(count - 1), "Down low!" }
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user