diff --git a/front/src/routes/map/Map.jsx b/front/src/routes/map/Map.jsx index 1c9c267a54..ef4a673178 100644 --- a/front/src/routes/map/Map.jsx +++ b/front/src/routes/map/Map.jsx @@ -77,7 +77,6 @@ class MapComponent extends Component { }) }) .addTo(this.leafletMap); - this.markerArray.push(this.houseMarkers[house.id]); } }); } @@ -103,8 +102,6 @@ class MapComponent extends Component { this.areaMarkers[area.id].on('click', () => { route(`/dashboard/maps/area/edit/${area.selector}`); }); - - this.markerArray.push(this.areaMarkers[area.id]); }); } };