fix: rename children to childrenInRoom
This commit is contained in:
@@ -23,8 +23,8 @@ export default async function SelectHotelMapPage({
|
||||
const {
|
||||
city,
|
||||
adultsInRoom,
|
||||
childrenInRoomString,
|
||||
childrenInRoom,
|
||||
childrenInRoomArray,
|
||||
selectHotelParams,
|
||||
} = searchDetails
|
||||
|
||||
@@ -41,8 +41,8 @@ export default async function SelectHotelMapPage({
|
||||
city={city}
|
||||
selectHotelParams={selectHotelParams}
|
||||
adultsInRoom={adultsInRoom}
|
||||
childrenInRoomString={childrenInRoomString}
|
||||
childrenInRoom={childrenInRoom}
|
||||
child={childrenInRoomArray}
|
||||
/>
|
||||
</Suspense>
|
||||
</MapContainer>
|
||||
|
||||
@@ -21,8 +21,8 @@ export default async function SelectHotelPage({
|
||||
city,
|
||||
selectHotelParams,
|
||||
adultsInRoom,
|
||||
childrenInRoomString,
|
||||
childrenInRoom,
|
||||
childrenInRoomArray,
|
||||
} = searchDetails
|
||||
|
||||
if (!city) return notFound()
|
||||
@@ -30,13 +30,13 @@ export default async function SelectHotelPage({
|
||||
const reservationParams = {
|
||||
selectHotelParams,
|
||||
adultsInRoom,
|
||||
childrenInRoomString,
|
||||
childrenInRoom,
|
||||
childrenInRoomArray,
|
||||
}
|
||||
|
||||
return (
|
||||
<Suspense
|
||||
key={`${city.name}-${searchParams.fromDate}-${searchParams.toDate}-${adultsInRoom}-${childrenInRoom}`}
|
||||
key={`${city.name}-${searchParams.fromDate}-${searchParams.toDate}-${adultsInRoom}-${childrenInRoomString}`}
|
||||
fallback={<SelectHotelSkeleton />}
|
||||
>
|
||||
<SelectHotel
|
||||
|
||||
Reference in New Issue
Block a user