feat: SW-1588 Fixed same key error
This commit is contained in:
@@ -33,8 +33,13 @@ export default async function SelectRatePage({
|
|||||||
if (!searchDetails?.hotel) {
|
if (!searchDetails?.hotel) {
|
||||||
return notFound()
|
return notFound()
|
||||||
}
|
}
|
||||||
const { hotel, adultsInRoom, childrenInRoom, selectHotelParams, bookingCode } =
|
const {
|
||||||
searchDetails
|
hotel,
|
||||||
|
adultsInRoom,
|
||||||
|
childrenInRoom,
|
||||||
|
selectHotelParams,
|
||||||
|
bookingCode,
|
||||||
|
} = searchDetails
|
||||||
|
|
||||||
const { fromDate, toDate } = getValidDates(
|
const { fromDate, toDate } = getValidDates(
|
||||||
selectHotelParams.fromDate,
|
selectHotelParams.fromDate,
|
||||||
|
|||||||
Reference in New Issue
Block a user