import styles from "./page.module.css"

import type { LangParams, LayoutArgs, StatusParams } from "@/types/params"

export default async function MiddlewareError({
  params,
}: LayoutArgs<LangParams & StatusParams>) {
  return (
    // eslint-disable-next-line formatjs/no-literal-string-in-jsx
    <div className={styles.layout}>
      Middleware error {params.lang} {params.status}
    </div>
  )
}
