[Maps] fix remove layer (#65093)

This commit is contained in:
Nathan Reese 2020-05-04 11:23:47 -06:00 committed by GitHub
parent cc6a676c4c
commit a80f2582c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ export class TOCEntryActionsPopover extends Component<Props, State> {
}
_removeLayer() {
this.props.fitToBounds(this.props.layer.getId());
this.props.removeLayer(this.props.layer.getId());
}
_toggleVisible() {