Skip to content

Commit

Permalink
Merge pull request #641 from anoopt/maps-minor-update
Browse files Browse the repository at this point in the history
Update Map.tsx
  • Loading branch information
AJIXuMuK authored Aug 25, 2020
2 parents 302c223 + 1a6b69c commit 57069af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class Map extends React.Component<IMapProps, IMapState> {
public componentWillUpdate(nextProps: IMapProps, nextState: IMapState): void {
if (!isEqual(this.props.coordinates, nextProps.coordinates)) {
this.setState({
coordinates: this.props.coordinates
coordinates: nextProps.coordinates
});
}
}
Expand Down

0 comments on commit 57069af

Please sign in to comment.