update web history

This commit is contained in:
Evan Almloff committed 2023-05-23 11:22:57 -05:00
1 parent e4b8fbfafe
commit 7ae8403af7
8 files changed
+127 -104

No files matched your search

+2 -2
View File
@@ -41,8 +41,8 @@ impl<R: Routable> Default for MemoryHistory<R> {
}
impl<R: Routable> HistoryProvider<R> for MemoryHistory<R> {
fn current_route(&self) -> &R {
self.current.as_ref().expect("current route is not set")
fn current_route(&self) -> R {
self.current.clone().expect("current route is not set")
}
fn can_go_back(&self) -> bool {