[Fix] Set componentWillUnmount to noop along with componentDidMount (#402)

This commit is contained in:
Mo Kouli 2017-11-09 15:44:21 -08:00 committed by Anh Mai
parent fe70f66644
commit 37ec42e4fe

View File

@ -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);