Commit bdc30bc0 authored by Xavier Brown's avatar Xavier Brown Committed by Arunoda Susiripala

Update readme.md (#1741)

The link element in the example code didn't end its first bracket before <a>
parent b46502f8
...@@ -302,7 +302,7 @@ The component `<Link>` can also receive an URL object and it will automatically ...@@ -302,7 +302,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>
) )
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment