feat(SW-1717): rewrite select-rate to show all variants of rate-cards
This commit is contained in:
committed by
Michael Zetterberg
parent
adde77eaa9
commit
ebaea78fb3
@@ -88,11 +88,7 @@ export const getSelectedRoomAvailability = cache(
|
||||
function getMemoizedSelectedRoomAvailability(
|
||||
input: GetSelectedRoomAvailabilityInput
|
||||
) {
|
||||
if (input.redemption) {
|
||||
return serverClient().hotel.availability.roomWithRedemption(input)
|
||||
} else {
|
||||
return serverClient().hotel.availability.room(input)
|
||||
}
|
||||
return serverClient().hotel.availability.room(input)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user