mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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
10 lines
177 B
JavaScript
10 lines
177 B
JavaScript
import css from './other.module.css'
|
|
|
|
export default function Other() {
|
|
throw new Error(`oops ${css.root}`)
|
|
}
|
|
|
|
export function getServerSideProps() {
|
|
return { props: {} }
|
|
}
|