mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
[Fix] Set componentWillUnmount to noop along with componentDidMount (#402)
This commit is contained in:
parent
fe70f66644
commit
37ec42e4fe
@ -68,6 +68,7 @@ export default class StaticMap extends PureComponent {
|
||||
this.componentDidMount = noop;
|
||||
this.componentWillReceiveProps = noop;
|
||||
this.componentDidUpdate = noop;
|
||||
this.componentWillUnmount = noop;
|
||||
}
|
||||
this.state = {};
|
||||
autobind(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user