From 493ceb5d727d7abbdb789a89602f2e96a7608489 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Fri, 30 Aug 2024 11:59:34 +0200 Subject: [PATCH] feat(SW-176): remove null check --- components/HotelReservation/HotelCard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/HotelReservation/HotelCard/index.tsx b/components/HotelReservation/HotelCard/index.tsx index 10aa2b9dc..b118ca656 100644 --- a/components/HotelReservation/HotelCard/index.tsx +++ b/components/HotelReservation/HotelCard/index.tsx @@ -68,7 +68,7 @@ export default async function HotelCard({
- {sortedAmenities?.map((facility) => { + {sortedAmenities.map((facility) => { const IconComponent = mapFacilityToIcon(facility.name) return (