Upgrade next@15.5.6 * chore: upgrade next@15.5.6 * chore: upgrade turborepo@2.6.1 * fix typings for scandic-web * fix: set correct type for pages * cleanup * fix more route.ts typing issues * Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/upgrade-next * explicitly import the types Approved-by: Linus Flood
14 lines
366 B
TypeScript
14 lines
366 B
TypeScript
import styles from "./page.module.css"
|
|
|
|
export default async function MiddlewareError(
|
|
props: PageProps<"/[lang]/middleware-error/[status]">
|
|
) {
|
|
const params = await props.params
|
|
return (
|
|
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
|
|
<div className={styles.layout}>
|
|
Middleware error {params.lang} {params.status}
|
|
</div>
|
|
)
|
|
}
|