mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Update readme.md (#1741)
The link element in the example code didn't end its first bracket before <a>
This commit is contained in:
parent
b46502f8f1
commit
bdc30bc089
|
@ -302,7 +302,7 @@ The component `<Link>` can also receive an URL object and it will automatically
|
|||
// pages/index.js
|
||||
import Link from 'next/link'
|
||||
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