fix default web history provider

This commit is contained in:
Evan Almloff committed 2023-06-18 19:24:31 -05:00
1 parent 199eb7a2db
commit 33f0e30369
1 file changed
+1 -1
+1 -1
View File
@@ -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