06d8acdfd0
This pull request adds a test case for the reproduction provided in #12445. This bug is specifically caused when loading the next page before navigation has actually occurred. --- Fixes #12445
16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
import Link from 'next/link'
|
|
import css from './other.module.css'
|
|
|
|
export default function Other() {
|
|
return (
|
|
<main>
|
|
<Link href="/" prefetch={false}>
|
|
<a id="link-index">index page</a>
|
|
</Link>
|
|
<br />
|
|
<h1 id="red-title" className={css.root}>
|
|
Red
|
|
</h1>
|
|
</main>
|
|
)
|
|
}
|