From 0298137d2960b75770391e73e35de96ecd72b213 Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Mon, 31 May 2021 21:32:54 -0400 Subject: [PATCH] Update README.es.md --- 7-bank-project/1-template-route/translations/README.es.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7-bank-project/1-template-route/translations/README.es.md b/7-bank-project/1-template-route/translations/README.es.md index ccb82bf1..7a280774 100644 --- a/7-bank-project/1-template-route/translations/README.es.md +++ b/7-bank-project/1-template-route/translations/README.es.md @@ -210,7 +210,7 @@ Creemos una nueva función que podamos usar para navegar en nuestra aplicación: ```js function navigate(path) { - window.history.pushState({}, path, window.location.origin + path); + window.history.pushState({}, path, path); updateRoute(); } ```