fix: use ready nodes in more places

This commit is contained in:
Jonathan Kelley committed 2022-12-25 01:37:00 -05:00
1 parent 85f6ea0545
commit 9b0244ee5c
10 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -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;
+4
View File
@@ -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,
}