We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470e219 commit d6ac7c7Copy full SHA for d6ac7c7
src/components/PlaceholderWithoutTracking.jsx
@@ -51,7 +51,7 @@ class PlaceholderWithoutTracking extends React.Component {
51
}
52
53
componentWillUnmount() {
54
- if (this.observer) {
+ if (this.observer && this.placeholder) {
55
this.observer.unobserve(this.placeholder);
56
57
0 commit comments