未验证 提交 ee97bc1b 编写于 作者: A Adebiyi Adedotun 提交者: GitHub

Fix grammatical typo in docs (#17779)

A URL is correct, not An URL
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册