From 577a93e3c50c5edf3c8764cbc608a3a1fe315f6d Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 11 Jun 2024 15:30:30 +0200 Subject: [PATCH] =?UTF-8?q?Linien=20ausgeblendet=20f=C3=BCr=20Demo=20Serve?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/MapComponent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (