From bf5ce25089a42df9542e838c0b09d22b69877c37 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Thu, 20 Feb 2025 19:32:47 +0100 Subject: [PATCH] feat: SW-1588 Fixed same key error --- .../components/HotelReservation/SelectRate/index.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx index f18866a30..377bec4e2 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx @@ -33,8 +33,13 @@ export default async function SelectRatePage({ if (!searchDetails?.hotel) { return notFound() } - const { hotel, adultsInRoom, childrenInRoom, selectHotelParams, bookingCode } = - searchDetails + const { + hotel, + adultsInRoom, + childrenInRoom, + selectHotelParams, + bookingCode, + } = searchDetails const { fromDate, toDate } = getValidDates( selectHotelParams.fromDate,