diff --git a/components/MapComponent.js b/components/MapComponent.js index 3cafc539a..bacf2d259 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -2152,7 +2152,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { }); }, []); - useEffect(() => { + /* useEffect(() => { if (!map) return; linePositions.forEach((line) => { @@ -2193,7 +2193,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { } } }); - }, [map, linePositions]); + }, [map, linePositions]); */ //--------------------------------------------------------- return (