fix default web history provider

This commit is contained in:
Evan Almloff 2023-06-18 19:24:31 -05:00
parent 199eb7a2db
commit 33f0e30369

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