1
0
Fork 0
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:
Xavier Brown 2017-04-16 22:30:12 -05:00 committed by Arunoda Susiripala
parent b46502f8f1
commit bdc30bc089

View file

@ -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>
)
```