fix default web history provider
This commit is contained in:
1 parent
199eb7a2db
commit
33f0e30369
1 file changed
+1
-1
@@ -39,7 +39,7 @@ where
|
||||
failure_external_navigation: FailureExternalNavigation::<R>,
|
||||
history: {
|
||||
#[cfg(all(target_arch = "wasm32", feature = "web"))]
|
||||
let history = Box::<MemoryHistory<R>>::default();
|
||||
let history = Box::<WebHistory<R>>::default();
|
||||
#[cfg(not(all(target_arch = "wasm32", feature = "web")))]
|
||||
let history = Box::<MemoryHistory<R>>::default();
|
||||
history
|
||||
|
||||
Reference in new issue
Block a user