mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
When using the `not-found.js` file to match missed routes, `serverCSSForEntries` will always be empty as the `ComponentMod.pages` itself doesn't contain any actual entry. We need to handle that as a special case. Closes #48133.
6 lines
163 B
JavaScript
6 lines
163 B
JavaScript
import styles from './not-found.module.css'
|
|
|
|
export default function RootNotFound() {
|
|
return <h1 className={'not-found ' + styles.blackBg}>Root not found</h1>
|
|
}
|