diff --git a/frontend/src/Components/Common/InfoCard.jsx b/frontend/src/Components/Common/InfoCard.jsx index 66ff717..9b19c90 100644 --- a/frontend/src/Components/Common/InfoCard.jsx +++ b/frontend/src/Components/Common/InfoCard.jsx @@ -54,11 +54,14 @@ export const InfoCard = (props) => { color: '#ffc107', }}>

{props.description}
+ {console.log(props.ageGroups)}
- Деца между { - props.ageGroups.forEach((age) => { return ageGroups[age] }) - } години. + + + Деца между {props.ageGroups?.map((age) => ageGroups[age] ?? "N/A").join(", ")} години. +
+
{props.environment}