Fix loading more items in account following/followers

master
Thibaut Girka 5 years ago committed by ThibG
parent ce182efd68
commit 0128509605
  1. 1
      app/javascript/flavours/glitch/features/followers/index.js
  2. 1
      app/javascript/flavours/glitch/features/following/index.js

@ -60,7 +60,6 @@ export default class Followers extends ImmutablePureComponent {
} }
handleLoadMore = debounce(() => { handleLoadMore = debounce(() => {
e.preventDefault();
this.props.dispatch(expandFollowers(this.props.params.accountId)); this.props.dispatch(expandFollowers(this.props.params.accountId));
}, 300, { leading: true }); }, 300, { leading: true });

@ -60,7 +60,6 @@ export default class Following extends ImmutablePureComponent {
} }
handleLoadMore = debounce(() => { handleLoadMore = debounce(() => {
e.preventDefault();
this.props.dispatch(expandFollowing(this.props.params.accountId)); this.props.dispatch(expandFollowing(this.props.params.accountId));
}, 300, { leading: true }); }, 300, { leading: true });

Loading…
Cancel
Save