diff --git a/src/components/map/MapboxGlMap.jsx b/src/components/map/MapboxGlMap.jsx index ba33fc2..d5b221f 100644 --- a/src/components/map/MapboxGlMap.jsx +++ b/src/components/map/MapboxGlMap.jsx @@ -94,16 +94,6 @@ export default class MapboxGlMap extends React.Component { } } - shouldComponentUpdate(nextProps, nextState) { - let should = false; - try { - should = JSON.stringify(this.props) !== JSON.stringify(nextProps) || JSON.stringify(this.state) !== JSON.stringify(nextState); - } catch(e) { - // no biggie, carry on - } - return should; - } - componentDidUpdate(prevProps) { if(!IS_SUPPORTED) return;