This commit is contained in:
Linus Flood
2024-10-30 14:26:21 +01:00
parent 26ce0d10ec
commit f575fbf2bc
3 changed files with 12 additions and 15 deletions

View File

@@ -51,8 +51,8 @@ export default async function SelectHotelPage({
const selectHotelParamsObject =
getHotelReservationQueryParams(selectHotelParams)
const adults = selectHotelParamsObject.room[0].adults // TODO: Handle multiple rooms
const child = selectHotelParamsObject.room[0].child
const children = child ? generateChildrenString(child) : undefined // TODO: Handle multiple rooms
const child = selectHotelParamsObject.room[0].child // TODO: Handle multiple rooms
const children = child ? generateChildrenString(child) : undefined
const hotels = await fetchAvailableHotels({
cityId: city.id,