diff --git a/src/components/StickyBackToTop.js b/src/components/StickyBackToTop.js index dd2533b7..b42c11e1 100644 --- a/src/components/StickyBackToTop.js +++ b/src/components/StickyBackToTop.js @@ -69,6 +69,8 @@ class StickyBackToTop extends PureComponent { this.releaseListener() } + _unmounted = false + onClick = () => { const { scrollContainer } = this.props.getGrowScroll() if (scrollContainer) {