From ee97bc1b206976c202d40d8f234b5a929c62dcd6 Mon Sep 17 00:00:00 2001 From: Adebiyi Adedotun Date: Sun, 11 Oct 2020 07:41:40 +0100 Subject: [PATCH] Fix grammatical typo in docs (#17779) A URL is correct, not An URL --- docs/api-reference/next/link.md | 2 +- docs/api-reference/next/router.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-reference/next/link.md b/docs/api-reference/next/link.md index d4a7641ed0895e2..fc4aa57314b8875 100644 --- a/docs/api-reference/next/link.md +++ b/docs/api-reference/next/link.md @@ -145,7 +145,7 @@ export default Home ## With URL Object -`Link` can also receive an URL object and it will automatically format it to create the URL string. Here's how to do it: +`Link` can also receive a URL object and it will automatically format it to create the URL string. Here's how to do it: ```jsx import Link from 'next/link' diff --git a/docs/api-reference/next/router.md b/docs/api-reference/next/router.md index fde59c68347fd4c..2783c2d324c19f6 100644 --- a/docs/api-reference/next/router.md +++ b/docs/api-reference/next/router.md @@ -120,7 +120,7 @@ export default function Page() { #### With URL object -You can use an URL object in the same way you can use it for [`next/link`](/docs/api-reference/next/link.md#with-url-object). Works for both the `url` and `as` parameters: +You can use a URL object in the same way you can use it for [`next/link`](/docs/api-reference/next/link.md#with-url-object). Works for both the `url` and `as` parameters: ```jsx import { useRouter } from 'next/router'