fix: cache hotel response
This commit is contained in:
@@ -27,8 +27,8 @@ export default async function BookingWidgetPage({
|
||||
})
|
||||
|
||||
const hotelPageParams = {
|
||||
hotel: hotelData?.data?.id || "",
|
||||
city: hotelData?.data?.attributes?.cityName || "",
|
||||
hotel: hotelData?.hotel?.id || "",
|
||||
city: hotelData?.hotel?.cityName || "",
|
||||
}
|
||||
|
||||
return <BookingWidget bookingWidgetSearchParams={hotelPageParams} />
|
||||
|
||||
Reference in New Issue
Block a user