From e7ea080fd332ca563c3e5e4ea4ed24d86ebf884d Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Tue, 29 Mar 2016 19:24:53 -0400
Subject: Fixing react warnings on permalink return

---
 webapp/components/posts_view.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'webapp/components/posts_view.jsx')

diff --git a/webapp/components/posts_view.jsx b/webapp/components/posts_view.jsx
index e034a592e..647c7f086 100644
--- a/webapp/components/posts_view.jsx
+++ b/webapp/components/posts_view.jsx
@@ -384,6 +384,7 @@ export default class PostsView extends React.Component {
     }
     componentWillUnmount() {
         window.removeEventListener('resize', this.handleResize);
+        this.scrollStopAction.cancel();
     }
     componentDidUpdate() {
         if (this.props.postList != null) {
-- 
cgit v1.2.3-1-g7c22

