Merged in fix/SW-1145-occupancy-room-api-change (pull request #1148)
Fix/SW-1145 occupancy room api change * fix(SW-1145): change occupancy to min and max * fix(SW-1145): small edit * fix(SW-1145): refactor to transform total room occupancy * fix(SW-1145): remove space * fix(SW-1145): small fix * fix(SW-1145): change to max for readability Approved-by: Erik Tiekstra Approved-by: Linus Flood
This commit is contained in:
committed by
Linus Flood
parent
1018b3ebcd
commit
a620be9331
@@ -21,7 +21,6 @@ export default function RoomSidePeek({
|
||||
const intl = useIntl()
|
||||
|
||||
const roomSize = room.roomSize
|
||||
const occupancy = room.occupancy.total
|
||||
const roomDescription = room.descriptions.medium
|
||||
const images = room.images
|
||||
|
||||
@@ -40,7 +39,7 @@ export default function RoomSidePeek({
|
||||
m².{" "}
|
||||
{intl.formatMessage(
|
||||
{ id: "booking.accommodatesUpTo" },
|
||||
{ nrOfGuests: occupancy }
|
||||
{ max: room.totalOccupancy.max, range: room.totalOccupancy.range }
|
||||
)}
|
||||
</Body>
|
||||
<div className={styles.imageContainer}>
|
||||
|
||||
Reference in New Issue
Block a user