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 1273107 commit 99edbebCopy full SHA for 99edbeb
src/map/overlay-view.tsx
@@ -28,8 +28,8 @@ const OverlayView = ({
28
// This fixes the issue where the overlay is not updated when the position changes.
29
const childrenProps = useMemoCompare(
30
children?.props as any,
31
- (prev: { lat: any; lng: any; draggable: boolean }, next: { lat: any; lng: any; draggable: boolean }) =>
32
- prev && prev.lat === next.lat && prev.lng === next.lng && prev.draggable === next.draggable; ,
+ (prev: { lat: any; lng: any }, next: { lat: any; lng: any }) =>
+ prev && prev.lat === next.lat && prev.lng === next.lng,
33
)
34
35
useEffect(() => {
0 commit comments