fix(SW-1168) Fixed comments for map

This commit is contained in:
Pontus Dreij
2024-12-12 20:30:41 +01:00
parent e05372f4d8
commit e1bc7c25e0
4 changed files with 23 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ export default function InteractiveMap({
hotelPins,
mapId,
closeButton,
onMapLoad,
onTilesLoaded,
onActivePoiChange,
}: InteractiveMapProps) {
const intl = useIntl()
@@ -48,7 +48,7 @@ export default function InteractiveMap({
return (
<div className={styles.mapContainer}>
<Map {...mapOptions} onTilesLoaded={onMapLoad}>
<Map {...mapOptions} onTilesLoaded={onTilesLoaded}>
{hotelPins && <HotelListingMapContent hotelPins={hotelPins} />}
{pointsOfInterest && (
<HotelMapContent