Files
Shu DingandGitHub 1e75beada2 Fix CSS module imports not included in root not-found file (#49155)
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.
2023-05-03 16:45:12 +00:00

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>
}