feat: SW-1588 Fixed same key error

This commit is contained in:
Hrishikesh Vaipurkar
2025-02-20 19:32:47 +01:00
parent cd96aa2c94
commit bf5ce25089

View File

@@ -33,8 +33,13 @@ export default async function SelectRatePage({
if (!searchDetails?.hotel) {
return notFound()
}
const { hotel, adultsInRoom, childrenInRoom, selectHotelParams, bookingCode } =
searchDetails
const {
hotel,
adultsInRoom,
childrenInRoom,
selectHotelParams,
bookingCode,
} = searchDetails
const { fromDate, toDate } = getValidDates(
selectHotelParams.fromDate,