diff --git a/src/components/elements/Map-mapbox/Map.tsx b/src/components/elements/Map-mapbox/Map.tsx index 37112c7ad..cb7c8049c 100644 --- a/src/components/elements/Map-mapbox/Map.tsx +++ b/src/components/elements/Map-mapbox/Map.tsx @@ -120,7 +120,7 @@ export const MapContainer = ({ useEffect(() => { initMap(); - }); + }, []); useEffect(() => { if (isUserDrawing) {