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