simplify onLoadMore in status list
This commit is contained in:
parent
fbee7a237c
commit
82c590d74b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue