Fix loading more items in account following/followers

th-downstream
Thibaut Girka 5 years ago committed by ThibG
parent 24611e1076
commit 8d587eafe5

@ -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