Files
web/app/[lang]/(live)/(public)/hotelreservation/(standard)/page.tsx
2024-11-27 19:51:15 +01:00

22 lines
492 B
TypeScript

import { env } from "@/env/server"
import { setLang } from "@/i18n/serverContext"
import styles from "./page.module.css"
import type { LangParams, PageArgs } from "@/types/params"
export default function HotelReservationPage({ params }: PageArgs<LangParams>) {
setLang(params.lang)
if (!env.ENABLE_BOOKING_WIDGET_HOTELRESERVATION_PATH) {
return null
}
return (
<div className={styles.page}>
New booking flow! Please report errors/issues in Slack.
</div>
)
}