polish: change in cx to cx

This commit is contained in:
Jonathan Kelley committed 2021-09-16 13:20:04 -04:00
1 parent 0ded32e184
commit 9971ff215d
21 files changed
+426 -320

No files matched your search

+5 -1
View File
@@ -27,7 +27,11 @@ static APP: FC<()> = |cx| {
cx.render(rsx! {
div {
button { onclick: move |_| count += 1, "add" }
button {
onclick: move |_| count += 1,
"Click to add."
"Current count: {count}"
}
ul {
{(0..*count).map(|f| rsx!{
li { "a - {f}" }