fcfb5959e6
* Allow mismatch href and as when manually provided * Swap warning and error and throw error in production also * Add test for mismatch error in production * Update to only show warning in development
7 lines
139 B
JavaScript
7 lines
139 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default () => (
|
|
<Link href="/[post]?post=post-1" as="/blog/post-1">
|
|
<a>Click me</a>
|
|
</Link>
|
|
)
|