Clean up a number of examples

This commit is contained in:
Jonathan Kelley committed 2024-01-15 13:06:05 -08:00
1 parent f2caa3a3ad
commit 6134a2ce24
30 files changed
+284 -413

No files matched your search

+1 -2
View File
@@ -4,8 +4,7 @@ fn main() {
dioxus_desktop::launch(App);
}
#[component]
fn App(_: ()) -> Element {
fn app() -> Element {
rsx! {
ErrorBoundary {
handle_error: |error: CapturedError| rsx! {"Found error {error}"},