Unverified Commit 91e0be1c authored by Andrés Bedoya (SrHart)'s avatar Andrés Bedoya (SrHart) Committed by GitHub

Update no-html-link-for-pages.md (#45247)

Update no-html-link-for-pages.md based on the new link API https://nextjs.org/docs/api-reference/next/link
parent 7b40ffa5
...@@ -32,9 +32,7 @@ import Link from 'next/link' ...@@ -32,9 +32,7 @@ import Link from 'next/link'
function Home() { function Home() {
return ( return (
<div> <div>
<Link href="/about"> <Link href="/about">About Us</Link>
<a>About Us</a>
</Link>
</div> </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