diff --git a/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx b/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx index 3bc43fb66..421554b23 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx @@ -54,7 +54,8 @@ function HotelCard({ const lang = params.lang as Lang const intl = useIntl() - const { activate, engage, disengageAfterDelay } = useHotelsMapStore() + const { activate, engage, disengage, disengageAfterDelay } = + useHotelsMapStore() const amenities = hotel.detailedFacilities.slice(0, 5) const router = useRouter() @@ -65,6 +66,7 @@ function HotelCard({ const handleAddressClick = (event: React.MouseEvent) => { event.preventDefault() + disengage() // Disengage the current hotel to avoid the hover state from being active when clicking on the address activate(hotel.name) router.push(`${selectHotelMap(lang)}?${searchParams.toString()}`) }