Skip to content

Commit

Permalink
removes unused cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mfacar committed Jan 13, 2025
1 parent 97d4e32 commit c6e2d2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/react/Map/LMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ const LMap = ({
setCurrentMarkers(pointMarkers);
setCurrentTilesProvider(props.tilesProvider);
checkMapInitialization(map, containerId);
const cleanup = initMap();
return cleanup;
initMap();
}
return () => {
if (map && reRender) {
Expand Down

0 comments on commit c6e2d2e

Please sign in to comment.