feat(SW-344): Hotel list in mobile
This commit is contained in:
@@ -50,17 +50,18 @@ export default function HotelListingMapContent({
|
||||
)
|
||||
}
|
||||
>
|
||||
<HotelCardDialog
|
||||
isOpen={isActiveOrHovered}
|
||||
handleClose={(event: { stopPropagation: () => void }) => {
|
||||
event.stopPropagation()
|
||||
if (activeHotelPin === pin.name) {
|
||||
toggleActiveHotelPin(null)
|
||||
}
|
||||
}}
|
||||
pin={pin}
|
||||
/>
|
||||
|
||||
<div className={styles.dialogContainer}>
|
||||
<HotelCardDialog
|
||||
isOpen={isActiveOrHovered}
|
||||
handleClose={(event: { stopPropagation: () => void }) => {
|
||||
event.stopPropagation()
|
||||
if (activeHotelPin === pin.name) {
|
||||
toggleActiveHotelPin(null)
|
||||
}
|
||||
}}
|
||||
data={pin}
|
||||
/>
|
||||
</div>
|
||||
<span
|
||||
className={`${styles.pin} ${isActiveOrHovered ? styles.active : ""}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user