mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix README issue related to object-urls.
This commit is contained in:
parent
564dbdd237
commit
f8950e9b4c
|
@ -327,7 +327,7 @@ The component `<Link>` can also receive an URL object and it will automatically
|
||||||
// pages/index.js
|
// pages/index.js
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
export default () => (
|
export default () => (
|
||||||
<div>Click <Link href={{ pathname: 'about', query: { name: 'Zeit' }}}><a>here</a></Link> to read more</div>
|
<div>Click <Link href={{ pathname: '/about', query: { name: 'Zeit' }}}><a>here</a></Link> to read more</div>
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue