chore: remove unnecessary brackets from examples (#552)

This commit is contained in:
Jon Kelley authored and GitHub committed 2022-09-13 14:57:23 -07:00
1 parent e4466fee0a
commit 41b450eedf
11 files changed
+44 -52

No files matched your search

+5 -13
View File
@@ -32,27 +32,19 @@ fn example(cx: Scope) -> Element {
cx.render(rsx!(
div {
div {
id: "asd",
div { id: "asd",
"your neighborhood spiderman"
items.iter().cycle().take(5).map(|f| rsx!{
div {
"{f.a}"
}
div { "{f.a}" }
})
things_list.iter().map(|f| rsx!{
div {
"{f.a}"
"{f.b}"
}
div { "{f.a}" "{f.b}" }
})
mything_read.as_ref().map(|f| rsx!{
div {
"{f}"
}
mything_read.as_ref().map(|f| rsx! {
div { "{f}" }
})
}
}