Skip to content

Commit 57069af

Browse files
authored
Merge pull request #641 from anoopt/maps-minor-update
Update Map.tsx
2 parents 302c223 + 1a6b69c commit 57069af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/map/Map.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class Map extends React.Component<IMapProps, IMapState> {
4848
public componentWillUpdate(nextProps: IMapProps, nextState: IMapState): void {
4949
if (!isEqual(this.props.coordinates, nextProps.coordinates)) {
5050
this.setState({
51-
coordinates: this.props.coordinates
51+
coordinates: nextProps.coordinates
5252
});
5353
}
5454
}

0 commit comments

Comments
 (0)