Unverified Commit ee97bc1b authored by Adebiyi Adedotun's avatar Adebiyi Adedotun Committed by GitHub

Fix grammatical typo in docs (#17779)

A URL is correct, not An URL
parent 5cab03fe
......@@ -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'
......
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment