Explorar el Código

fix default web history provider

Evan Almloff hace 2 años
padre
commit
33f0e30369
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/router/src/router_cfg.rs

+ 1 - 1
packages/router/src/router_cfg.rs

@@ -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