From 0c0c32d539bb43b7557d66921dca315c923f9fe2 Mon Sep 17 00:00:00 2001 From: Theoklitos Bampouris Date: Fri, 2 Jul 2021 11:04:48 +0300 Subject: [PATCH] docs: change misspelled function (#42742) Change the router.navigateUrl() to the correct function router.navigate() according to code example. PR Close #42742 --- aio/content/guide/router-tutorial-toh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/router-tutorial-toh.md b/aio/content/guide/router-tutorial-toh.md index 35d1ff0f78..0caf7c81f0 100644 --- a/aio/content/guide/router-tutorial-toh.md +++ b/aio/content/guide/router-tutorial-toh.md @@ -2528,7 +2528,7 @@ Add the `NavigationExtras` object to the `router.navigate()` method that navigat You can also preserve query parameters and fragments across navigations without having to provide them again when navigating. -In the `LoginComponent`, you'll add an *object* as the second argument in the `router.navigateUrl()` function and provide the `queryParamsHandling` and `preserveFragment` to pass along the current query parameters and fragment to the next route. +In the `LoginComponent`, you'll add an *object* as the second argument in the `router.navigate()` function and provide the `queryParamsHandling` and `preserveFragment` to pass along the current query parameters and fragment to the next route.