Files
web/app/[lang]/(live)/(public)/hotelreservation/(payment-callback)/payment-callback/layout.tsx
2024-11-21 10:18:36 +01:00

17 lines
413 B
TypeScript

import { notFound } from "next/navigation"
import { env } from "@/env/server"
import styles from "./layout.module.css"
import { LangParams, LayoutArgs } from "@/types/params"
export default function PaymentCallbackLayout({
children,
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
if (env.HIDE_FOR_NEXT_RELEASE) {
return notFound()
}
return <div className={styles.layout}>{children}</div>
}