From 790c485120b6898e0128c652207668dec4739608 Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Tue, 28 Jan 2025 09:51:42 +0100 Subject: [PATCH] feat(SW-718) Don't show image if no src --- .../HotelReservation/SelectRate/SelectedRoomPanel/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/HotelReservation/SelectRate/SelectedRoomPanel/index.tsx b/components/HotelReservation/SelectRate/SelectedRoomPanel/index.tsx index 409c5a01f..fac022eb9 100644 --- a/components/HotelReservation/SelectRate/SelectedRoomPanel/index.tsx +++ b/components/HotelReservation/SelectRate/SelectedRoomPanel/index.tsx @@ -79,10 +79,10 @@ export default function SelectedRoomPanel({
- {images && ( + {images?.[0]?.imageSizes?.tiny && (
{selectedRate?.roomType