Unverified Commit 1b67dc16 authored by Aryan Beezadhur's avatar Aryan Beezadhur Committed by GitHub

Examples: Delete `as` prop from `<Link>` components (#27359)

`as` prop is no longer required on `next/link` components for dynamic routes
parent 527cb97b
......@@ -14,12 +14,12 @@ const Header = () => (
</Link>
</li>
<li>
<Link href="/post/[id]" as="/post/first">
<Link href="/post/first">
<a>First Post</a>
</Link>
</li>
<li>
<Link href="/post/[id]" as="/post/second">
<Link href="/post/second">
<a>Second Post</a>
</Link>
</li>
......
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