feat(SW-1534): Added booking code functionality from either searchParams or pageSettings
Approved-by: Christian Andolf
This commit is contained in:
@@ -33,8 +33,9 @@ export default async function BookingWidgetPage({
|
||||
}
|
||||
|
||||
const hotelPageParams = {
|
||||
hotel: hotelData?.hotel.id || "",
|
||||
city: hotelData?.hotel.cityName || "",
|
||||
bookingCode: searchParams.bookingCode ?? "",
|
||||
hotel: hotelData?.hotel.id ?? "",
|
||||
city: hotelData?.hotel.cityName ?? "",
|
||||
}
|
||||
|
||||
return <BookingWidget bookingWidgetSearchParams={hotelPageParams} />
|
||||
|
||||
Reference in New Issue
Block a user