From 5dec45474db6a6b625ccc5cabf7524c81bb1cae9 Mon Sep 17 00:00:00 2001 From: Bianca Widstam Date: Tue, 3 Dec 2024 11:22:48 +0100 Subject: [PATCH] fix(SW-1041): remove unused props --- .../SelectRate/RoomSelection/RoomCard/index.tsx | 2 -- .../components/hotelReservation/selectRate/flexibilityOption.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/components/HotelReservation/SelectRate/RoomSelection/RoomCard/index.tsx b/components/HotelReservation/SelectRate/RoomSelection/RoomCard/index.tsx index a5b21e10d..4b8c47928 100644 --- a/components/HotelReservation/SelectRate/RoomSelection/RoomCard/index.tsx +++ b/components/HotelReservation/SelectRate/RoomSelection/RoomCard/index.tsx @@ -210,9 +210,7 @@ export default function RoomCard({ product={findProductForRate(rate)} priceInformation={getRateDefinitionForRate(rate)?.generalTerms} handleSelectRate={handleSelectRate} - roomType={roomConfiguration.roomType} roomTypeCode={roomConfiguration.roomTypeCode} - features={roomConfiguration.features} petRoomPackage={petRoomPackage} /> ))} diff --git a/types/components/hotelReservation/selectRate/flexibilityOption.ts b/types/components/hotelReservation/selectRate/flexibilityOption.ts index b7e5a0232..a4f185654 100644 --- a/types/components/hotelReservation/selectRate/flexibilityOption.ts +++ b/types/components/hotelReservation/selectRate/flexibilityOption.ts @@ -18,9 +18,7 @@ export type FlexibilityOptionProps = { value: string paymentTerm: string priceInformation?: Array - roomType: RoomConfiguration["roomType"] roomTypeCode: RoomConfiguration["roomTypeCode"] - features: RoomConfiguration["features"] petRoomPackage: RoomPackage | undefined handleSelectRate: React.Dispatch< React.SetStateAction<