Skip to content

Commit

Permalink
front: make stdcm map less laggy
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBellaha committed Jun 28, 2024
1 parent 028ae7b commit ade99a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const Map = ({ pathProperties, setMapCanvas, hideAttribution = false }: MapProps
}
};
if (mapIsLoaded) captureMap();
}, [mapIsLoaded, geoJson, viewport]);
}, [mapIsLoaded, geoJson, pathProperties]);

const scaleControlStyle = {
left: 20,
Expand Down

0 comments on commit ade99a6

Please sign in to comment.