feat(SW-717) fixed issues after rebase
This commit is contained in:
@@ -87,7 +87,7 @@ export async function getHotelSearchDetails<
|
||||
const { rooms } = selectHotelParams
|
||||
|
||||
if (rooms && rooms.length > 0) {
|
||||
adultsInRoom = rooms.map((room) => room.adults?.[0] ?? 0)
|
||||
adultsInRoom = rooms.map((room) => room.adults ?? 0)
|
||||
childrenInRoomString = rooms[0].childrenInRoom
|
||||
? generateChildrenString(rooms[0].childrenInRoom)
|
||||
: undefined // TODO: Handle multiple rooms
|
||||
|
||||
Reference in New Issue
Block a user