Skip to content

Commit

Permalink
Change example link to be equal to query property (#10052)
Browse files Browse the repository at this point in the history
The example uses { name: 'ZEIT' } but then say that it will link to `?name=Zeit`.

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
lcandiago and ijjk committed Jan 12, 2020
1 parent b533f2a commit 3096a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/next/link.md
Expand Up @@ -121,7 +121,7 @@ function Home() {
export default Home
```

The above example will be a link to `/about?name=Zeit`. You can use every property as defined in the [Node.js URL module documentation](https://nodejs.org/api/url.html#url_url_strings_and_url_objects).
The above example will be a link to `/about?name=ZEIT`. You can use every property as defined in the [Node.js URL module documentation](https://nodejs.org/api/url.html#url_url_strings_and_url_objects).

## Replace the URL instead of push

Expand Down

0 comments on commit 3096a77

Please sign in to comment.