Refactor and fixed bug

This commit is contained in:
Linus Flood
2024-11-27 19:51:15 +01:00
parent 267a47c61a
commit 31540d0d40
6 changed files with 21 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ import { PageArgs } from "@/types/params"
export default async function BookingWidgetPage({
searchParams,
}: PageArgs<{}, URLSearchParams>) {
if (!env.ENABLE_BOOKING_WIDGET_HOTELRESERVATION_PATH) {
if (!env.ENABLE_BOOKING_WIDGET) {
return null
}