feat(SW-589): updated breakfastIncluded

This commit is contained in:
Pontus Dreij
2024-11-18 16:55:17 +01:00
parent d56d2f8472
commit 62442646f0

View File

@@ -59,9 +59,9 @@ export default function RoomCard({
}
const getBreakfastMessage = (rate: RateDefinition | undefined) => {
const breakfastInfo = getRateDefinitionForRate(rate)?.breakfastIncluded
const breakfastIncluded = getRateDefinitionForRate(rate)?.breakfastIncluded
switch (breakfastInfo) {
switch (breakfastIncluded) {
case true:
return intl.formatMessage({ id: "Breakfast is included." })
case false: