Refactor
This commit is contained in:
@@ -9,7 +9,7 @@ import type { LangParams, PageArgs } from "@/types/params"
|
||||
export default function HotelReservationPage({ params }: PageArgs<LangParams>) {
|
||||
setLang(params.lang)
|
||||
|
||||
if (!env.SHOW_BOOKINGWIDGET_HOTELRESERVATION_PATH) {
|
||||
if (!env.ENABLE_BOOKING_FLOW) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user