make hooks return a result instead of an option

This commit is contained in:
Adrian Wannenmacher committed 2022-12-13 11:09:24 +01:00
1 parent 3e86c0e364
commit 7d2466ff28
5 files changed
+35 -26

No files matched your search

+4
View File
@@ -15,6 +15,10 @@ mod contexts {
pub(crate) mod router;
}
#[forbid(missing_docs)]
mod error;
pub use error::RouterError;
pub mod history {
pub use dioxus_router_core::history::*;
}