Skip to content

Commit

Permalink
ispras#971: remove componentWillReceiveProps
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliauvarova committed May 19, 2023
1 parent caf1ce0 commit 5f8b539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Map/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ class Map extends React.Component {
}).addTo(this.leaflet);
}

componentWillReceiveProps(nextProps) {
componentDidUpdate(prevProps) {
const {
actions,
data: { loading, dictionaries, blobs: allBlobs }
} = nextProps;
} = this.props;

if (!loading && dictionaries) {
const markersGroup = L.markerClusterGroup({ maxClusterRadius: 70, showCoverageOnHover: false });
Expand Down

0 comments on commit 5f8b539

Please sign in to comment.