mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
fix: add comment
This commit is contained in:
parent
c1c5821dcf
commit
77523bdc31
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ fn app(cx: Scope) -> Element {
|
|||
// Use optionals
|
||||
Some(rsx! { "Some" }),
|
||||
|
||||
// use a for loop or unterminated conditional
|
||||
div {
|
||||
for name in 0..10 {
|
||||
rsx! { "{name}" }
|
||||
|
|
Loading…
Reference in a new issue