chore: remove unnecessary brackets from examples (#552)
This commit is contained in:
1 parent
e4466fee0a
commit
41b450eedf
11 files changed
+44
-52
No files matched your search
@@ -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}" }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user