From 37ec42e4fe2eb9401d4502e0a4f282805a3d0cc5 Mon Sep 17 00:00:00 2001 From: Mo Kouli Date: Thu, 9 Nov 2017 15:44:21 -0800 Subject: [PATCH] [Fix] Set `componentWillUnmount` to `noop` along with `componentDidMount` (#402) --- src/components/static-map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/static-map.js b/src/components/static-map.js index 570eac9e..48daf69b 100644 --- a/src/components/static-map.js +++ b/src/components/static-map.js @@ -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);