Merged in fix/SW-3117-filter-select-hotel (pull request #2475)
Fix/SW-3117 filter select hotel * fix(SW-3117): default hotel count fix * fix(SW-3117): default hotel count for mobile Approved-by: Tobias Johansson Approved-by: Matilda Landström
This commit is contained in:
@@ -102,7 +102,7 @@ export default function HotelCardListing({
|
||||
}, [activeHotel, type])
|
||||
|
||||
useEffect(() => {
|
||||
setResultCount(hotels.length, unfilteredHotelCount ?? hotels.length)
|
||||
setResultCount(hotels.length, unfilteredHotelCount)
|
||||
}, [hotels, setResultCount, unfilteredHotelCount])
|
||||
|
||||
function isHotelActiveInMapView(hotelName: string): boolean {
|
||||
|
||||
Reference in New Issue
Block a user