We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249f540 commit 312321dCopy full SHA for 312321d
packages/pluggableWidgets/maps-web/src/components/LeafletMap.tsx
@@ -101,9 +101,7 @@ export function LeafletMap(props: LeafletProps): ReactElement {
101
}
102
interactive={!!marker.title || !!marker.onClick}
103
key={`marker_${marker.id ?? marker.latitude + "_" + marker.longitude}`}
104
- eventHandlers={{
105
- click: marker.title ? undefined : marker.onClick
106
- }}
+ eventHandlers={marker.title ? undefined : { click: marker.onClick }}
107
position={{ lat: marker.latitude, lng: marker.longitude }}
108
title={marker.title}
109
>
0 commit comments