feat(SW-589): updated breakfastIncluded

This commit is contained in:
Pontus Dreij
2024-11-18 16:55:17 +01:00
committed by Joakim Jäderberg
parent a9db6c8063
commit 70d92ee168

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: