Clean up a number of examples
This commit is contained in:
30 files changed
+284
-413
No files matched your search
@@ -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}"},
|
||||
|
||||
Reference in new issue
Block a user