make the router and navigator Copy

This commit is contained in:
Evan Almloff committed 2024-01-18 12:02:38 -06:00
1 parent 89b1e56fc3
commit a0f1b1fc3e
3 files changed
+78 -90

No files matched your search

+1 -1
View File
@@ -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 {