Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Push new routes to the history stack instead of replacing it
Sebastian Martinez committed 3 years ago
commit d97e4b5f7b21c55d3f26976b7925719d7a75b9b7
parent 3fbd832ef1524900d9463b9132eda0ae112293c9
1 file changed +1 -1
modified src/router/index.ts
@@ -84,7 +84,7 @@ export const push = (newRoute: Route): void => {
    ? "#" + routeToPath(newRoute)
    : routeToPath(newRoute);

-
  window.history.replaceState(newRoute, documentTitle, path);
+
  window.history.pushState(newRoute, documentTitle, path);
};

export const pop = (): void => {