feat(SW-344): set active pin on scroll

This commit is contained in:
Pontus Dreij
2024-11-12 09:31:20 +01:00
parent b73421dbde
commit 96a5277881
4 changed files with 51 additions and 11 deletions

View File

@@ -95,7 +95,7 @@ export default function SelectHotelMap({
<HotelListing
hotels={hotels}
activeHotelPin={activeHotelPin}
onHotelCardHover={setActiveHotelPin}
setActiveHotelPin={setActiveHotelPin}
/>
{showBackToTop && (
<Button