make the router and navigator Copy
This commit is contained in:
1 parent
89b1e56fc3
commit
a0f1b1fc3e
3 files changed
+78
-90
No files matched your search
@@ -15,7 +15,7 @@ pub fn navigator() -> Navigator {
|
||||
}
|
||||
|
||||
/// A view into the navigation state of a router.
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Copy)]
|
||||
pub struct Navigator(pub(crate) RouterContext);
|
||||
|
||||
impl Navigator {
|
||||
|
||||
Reference in new issue
Block a user