From: Gabriel A. Salinas Szada <75760163+gass-git@users.noreply.github.com> Date: Wed, 14 Dec 2022 13:19:01 +0000 (+0100) Subject: docs: Update navigation-guards.md (#1630) X-Git-Tag: v4.2.0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15376c734014ab89aeb8f095a36f92fa84255c9e;p=thirdparty%2Fvuejs%2Frouter.git docs: Update navigation-guards.md (#1630) --- diff --git a/packages/docs/guide/advanced/navigation-guards.md b/packages/docs/guide/advanced/navigation-guards.md index 9c278869..c39e0629 100644 --- a/packages/docs/guide/advanced/navigation-guards.md +++ b/packages/docs/guide/advanced/navigation-guards.md @@ -51,7 +51,7 @@ It's also possible to throw an `Error` if an unexpected situation was met. This If nothing, `undefined` or `true` is returned, **the navigation is validated**, and the next navigation guard is called. -All of the the things above **work the same way with `async` functions** and Promises: +All of the things above **work the same way with `async` functions** and Promises: ```js router.beforeEach(async (to, from) => {