mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
be99e29e5f
* fix: fmt unterminated if, be more aggressive with line splits * Fix: Handle long exprs in for/if statements
12 lines
206 B
R
12 lines
206 B
R
#[component]
|
|
fn SidebarSection() -> Element {
|
|
rsx! {
|
|
if let Some(url) = &link.location {
|
|
"hi {url}"
|
|
}
|
|
|
|
if val.is_empty() {
|
|
"No content"
|
|
}
|
|
}
|
|
}
|