Skip to content

Commit

Permalink
Merge pull request #991 from nataliauvarova/staging
Browse files Browse the repository at this point in the history
#971: remove componentWillReceiveProps
  • Loading branch information
nataliauvarova authored May 19, 2023
2 parents 2efd3e6 + 5f8b539 commit 70c0ed9
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 70c0ed9

Please sign in to comment.