mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
fix default web history provider
This commit is contained in:
parent
199eb7a2db
commit
33f0e30369
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue