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
committed by Joakim Jäderberg
parent 43d760eedb
commit da89c73d07

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>
)}