feat: use correct description for beds in sidepeek
This commit is contained in:
committed by
Simon.Emanuelsson
parent
38f937f948
commit
07a764211f
@@ -25,9 +25,6 @@ export default function RoomOne({ user }: { user: SafeUser }) {
|
||||
breakfastPackages: state.breakfastPackages,
|
||||
isMultiroom: state.rooms.length > 1,
|
||||
}))
|
||||
const {
|
||||
room: { bedTypes },
|
||||
} = useRoomContext()
|
||||
|
||||
const hasChildWithExtraBed = room.childrenInRoom?.some(
|
||||
(child) => Number(child.bed) === ChildBedMapEnum.IN_EXTRA_BED
|
||||
@@ -36,7 +33,7 @@ export default function RoomOne({ user }: { user: SafeUser }) {
|
||||
const bedTypeInfoText = getBedTypeInfoText(
|
||||
intl,
|
||||
!!hasChildWithExtraBed,
|
||||
bedTypes.length > 1
|
||||
room.bedTypes.length > 1
|
||||
)
|
||||
|
||||
const showBreakfastStep =
|
||||
|
||||
Reference in New Issue
Block a user