also remove disconnecting from ResizeObserver

This commit is contained in:
Bruno Windels 2019-03-11 10:32:30 +01:00
parent 96b1b723cd
commit 10496cd4e8

View file

@ -178,10 +178,6 @@ module.exports = React.createClass({
//
// (We could use isMounted(), but facebook have deprecated that.)
this.unmounted = true;
if (this._timelineSizeObserver) {
this._timelineSizeObserver.disconnect();
this._timelineSizeObserver = null;
}
},
onScroll: function(ev) {