diff --git a/components/HotelReservation/SelectRate/RoomSelection/RateSummary/index.tsx b/components/HotelReservation/SelectRate/RoomSelection/RateSummary/index.tsx index 7700b1d29..222acef51 100644 --- a/components/HotelReservation/SelectRate/RoomSelection/RateSummary/index.tsx +++ b/components/HotelReservation/SelectRate/RoomSelection/RateSummary/index.tsx @@ -35,7 +35,7 @@ export default function RateSummary({ roomType, priceName, } = rateSummary - const priceToShow = isUserLoggedIn ? member : publicRate + const priceToShow = isUserLoggedIn && member ? member : publicRate const isPetRoomSelected = features.some( (feature) => feature.code === RoomPackageCodeEnum.PET_ROOM diff --git a/types/components/hotelReservation/selectRate/selectRate.ts b/types/components/hotelReservation/selectRate/selectRate.ts index ba8f3f45c..a1da31b84 100644 --- a/types/components/hotelReservation/selectRate/selectRate.ts +++ b/types/components/hotelReservation/selectRate/selectRate.ts @@ -29,6 +29,6 @@ export interface Rate { roomTypeCode: RoomConfiguration["roomTypeCode"] priceName: string public: Product["productType"]["public"] - member: Product["productType"]["member"] + member?: Product["productType"]["member"] features: RoomConfiguration["features"] }