From 39b3cc39d71c0cec4a6b9cac7d9b2a1043072a0b Mon Sep 17 00:00:00 2001 From: Bianca Widstam Date: Wed, 20 Nov 2024 12:54:54 +0000 Subject: [PATCH] Merged in fix/SW-940-sort-by-price (pull request #946) fix(SW-940): change logic for price sorting * fix(SW-940): change logic for price sorting * fix(SW-940): change logic for price sorting Approved-by: Pontus Dreij --- components/HotelReservation/HotelCardListing/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/HotelReservation/HotelCardListing/index.tsx b/components/HotelReservation/HotelCardListing/index.tsx index 6ebf3006e..6ceb9aa85 100644 --- a/components/HotelReservation/HotelCardListing/index.tsx +++ b/components/HotelReservation/HotelCardListing/index.tsx @@ -51,7 +51,7 @@ export default function HotelCardListing({ return ( hotel.price?.member?.localPrice?.pricePerNight ?? hotel.price?.public?.localPrice?.pricePerNight ?? - 0 + Infinity ) } return [...hotelData].sort(