about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/followers/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-04-10 10:42:31 +0200
committerThibG <thib@sitedethib.com>2020-04-10 14:47:06 +0200
commit51bbf0b68dc504c441cb929e4fbf8d8c6e04df42 (patch)
tree861e1a99736938f209fc863b7ab3e6d405f41d76 /app/javascript/flavours/glitch/features/followers/index.js
parent5d2cdeb2255f49abd7756e5e6d94b16ad1f7df90 (diff)
Clean up some dead code
Diffstat (limited to 'app/javascript/flavours/glitch/features/followers/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/followers/index.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/javascript/flavours/glitch/features/followers/index.js b/app/javascript/flavours/glitch/features/followers/index.js
index 2b86cc805..27495e5d1 100644
--- a/app/javascript/flavours/glitch/features/followers/index.js
+++ b/app/javascript/flavours/glitch/features/followers/index.js
@@ -54,14 +54,6 @@ class Followers extends ImmutablePureComponent {
     this.column.scrollTop();
   }
 
-  handleScroll = (e) => {
-    const { scrollTop, scrollHeight, clientHeight } = e.target;
-
-    if (scrollTop === scrollHeight - clientHeight && this.props.hasMore) {
-      this.props.dispatch(expandFollowers(this.props.params.accountId));
-    }
-  }
-
   handleLoadMore = debounce(() => {
     this.props.dispatch(expandFollowers(this.props.params.accountId));
   }, 300, { leading: true });