feat(SW-589) reverted change on hotel card for alert (this will be removed)

This commit is contained in:
Pontus Dreij
2024-11-18 16:43:02 +01:00
parent e7c7485ff8
commit d86e11ac85

View File

@@ -136,7 +136,7 @@ export default function HotelCard({
{hotelData.specialAlerts.length > 0 && (
<div className={styles.specialAlerts}>
{hotelData.specialAlerts.map((alert) => (
<Alert key={alert.id} type={alert.type} text={alert.heading} />
<Alert key={alert.id} type={alert.type} text={alert.text} />
))}
</div>
)}