simplify onLoadMore in status list

manage-followers-section
Mary Kate 2020-08-26 11:42:20 -05:00
rodzic fbee7a237c
commit 82c590d74b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -64,7 +64,7 @@ export default class StatusList extends ImmutablePureComponent {
handleLoadOlder = debounce(() => {
const loadMoreID = this.props.lastStatusId ? this.props.lastStatusId : this.props.statusIds.last();
this.props.onLoadMore(loadMoreID ? loadMoreID : undefined);
this.props.onLoadMore(loadMoreID);
}, 300, { leading: true })
_selectChild(index, align_top) {