Skip to content

Commit

Permalink
[TM-905] run init map on mount only
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarLima1 committed Jun 10, 2024
1 parent f5738c1 commit 401b2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/elements/Map-mapbox/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const MapContainer = ({

useEffect(() => {
initMap();
});
}, []);

useEffect(() => {
if (isUserDrawing) {
Expand Down

0 comments on commit 401b2c2

Please sign in to comment.