dioxus_router/components/
default_errors.rs#[allow(deprecated)]
use crate::hooks::use_router;
use dioxus_lib::prelude::*;
#[allow(non_snake_case)]
pub fn FailureExternalNavigation() -> Element {
#[allow(deprecated)]
let router = use_router();
rsx! {
h1 { "External Navigation Failure!" }
p {
"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" }
}
}