0
0
Fork 0
This commit is contained in:
Eugen Rochko 2017-06-21 01:37:15 +02:00 committed by GitHub
parent 31cd649041
commit 946a166791
2 changed files with 0 additions and 15 deletions

View file

@ -91,14 +91,6 @@ class Status extends ImmutablePureComponent {
}
componentWillUnmount () {
if (!this.props.intersectionObserverWrapper) {
// TODO: enable IntersectionObserver optimization for notification statuses.
// These are managed in notifications/index.js rather than status_list.js
return;
}
this.props.intersectionObserverWrapper.unobserve(this.props.id, this.node);
this.componentMounted = false;
}