Make GenericRouterContext pub (#3812)
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -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>,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user