Merged in fix/open-up-hotelreservation-pages (pull request #2020)
fix: open up hotelreservation * fix: open up hotelreservation Approved-by: Michael Zetterberg
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { env } from "@/env/server"
|
||||
|
||||
import { BookingWidget } from "@/components/BookingWidget"
|
||||
|
||||
import type { BookingWidgetSearchData } from "@/types/components/bookingWidget"
|
||||
@@ -8,9 +6,5 @@ import type { LangParams, PageArgs } from "@/types/params"
|
||||
export default async function BookingWidgetPage({
|
||||
searchParams,
|
||||
}: PageArgs<LangParams, BookingWidgetSearchData>) {
|
||||
if (env.NEW_SITE_LIVE_STATUS === "NOT_LIVE") {
|
||||
return null
|
||||
}
|
||||
|
||||
return <BookingWidget bookingWidgetSearchParams={searchParams} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user