Skip to content

Commit

Permalink
fix(maps): move map on svg load
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Nov 6, 2024
1 parent fa68086 commit 0ecc18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/maps/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ const MapViewer = memo(function MapViewer({
options.current.offsetY = offsetY;
options.current.zoom = zoom;
updateImage();
}, [scene, highlightAreas]);
}, [scene, highlightAreas, mapSvg?.data]);

return (
<div
Expand Down

0 comments on commit 0ecc18e

Please sign in to comment.