From 62f95aeb5253e2a25468a91bc6a4b7340c5dceb4 Mon Sep 17 00:00:00 2001 From: meriadec Date: Mon, 18 Jun 2018 18:33:55 +0200 Subject: [PATCH] Flow fix --- src/components/StickyBackToTop.js | 2 ++ 1 file changed, 2 insertions(+) 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) {