Make GenericRouterContext pub (#3812)

This commit is contained in:
Jim authored and GitHub committed 2025-03-04 14:11:12 -06:00
1 parent 6a0ae17d56
commit 9967118784
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -309,6 +309,7 @@ impl RouterContext {
}
}
/// This context is set to the RouterConfig on_update method
pub struct GenericRouterContext<R> {
inner: RouterContext,
_marker: std::marker::PhantomData<R>,
+1 -1
View File
@@ -39,7 +39,7 @@ mod contexts {
pub(crate) mod router;
pub use navigator::*;
pub(crate) use router::*;
pub use router::{root_router, RouterContext};
pub use router::{root_router, GenericRouterContext, RouterContext};
}
mod router_cfg;