Files
dioxus/packages/autofmt/tests/wrong/oneline-expand.wrong.rsx
T
Jonathan Kelley d8942a255b Fix #2104: fmt incorrectly using 1-indexing for columns (#2106)
* Fix #2104: fmt incorrectly using 1-indexing for columns

* Clippy...
2024-03-18 18:23:45 -07:00

9 lines
219 B
R

fn main() {
rsx! {
button {
id: "start_stop",
onclick: move |_| timer.with_mut(|t| t.started_at = if t.started_at.is_none() { Some(Instant::now()) } else { None } )
}
}
}