Skip to content

Commit

Permalink
Update no-html-link-for-pages.md (#45247)
Browse files Browse the repository at this point in the history
Update no-html-link-for-pages.md based on the new link API https://nextjs.org/docs/api-reference/next/link
  • Loading branch information
Angelfire committed Jan 25, 2023
1 parent 7b40ffa commit 91e0be1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions errors/no-html-link-for-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ import Link from 'next/link'
function Home() {
return (
<div>
<Link href="/about">
<a>About Us</a>
</Link>
<Link href="/about">About Us</Link>
</div>
)
}
Expand Down

0 comments on commit 91e0be1

Please sign in to comment.