docs: fix readme and links

This commit is contained in:
Jonathan Kelley committed 2022-03-05 16:57:09 -05:00
1 parent 57abeb5f4d
commit e4fac574ed
2 files changed
+7 -9

No files matched your search

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