fix: use ready nodes in more places
This commit is contained in:
1 parent
85f6ea0545
commit
9b0244ee5c
10 files changed
+20
-20
No files matched your search
@@ -1,4 +1,4 @@
|
||||
use crate::{Error as RouterError, ParsedRoute, RouteContext, RouterContext};
|
||||
use crate::{ParsedRoute, RouteContext, RouterContext};
|
||||
use dioxus::core::{ScopeId, ScopeState};
|
||||
use std::{borrow::Cow, str::FromStr, sync::Arc};
|
||||
use url::Url;
|
||||
|
||||
@@ -31,7 +31,11 @@ mod service;
|
||||
pub use routecontext::*;
|
||||
pub use service::*;
|
||||
|
||||
/// An error specific to the Router
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
/// The route was not found while trying to navigate to it.
|
||||
///
|
||||
/// This will force the router to redirect to the 404 page.
|
||||
NotFound,
|
||||
}
|
||||
Reference in new issue
Block a user