re export renderers in dioxus

This commit is contained in:
Evan Almloff committed 2024-01-15 19:14:11 -06:00
1 parent b291a5c0b0
commit af1749d7be
61 files changed
+860 -100

No files matched your search

@@ -1,6 +1,6 @@
#[allow(deprecated)]
use crate::hooks::use_router;
use dioxus::prelude::*;
use dioxus_lib::prelude::*;
/// The default component to render when an external navigation fails.
#[allow(non_snake_case)]
@@ -14,11 +14,6 @@ pub fn FailureExternalNavigation() -> Element {
"The application tried to programmatically navigate to an external page. This "
"operation has failed. Click the link below to complete the navigation manually."
}
a {
onclick: move |_| {
router.clear_error()
},
"Click here to go back"
}
a { onclick: move |_| { router.clear_error() }, "Click here to go back" }
}
}