Fix being unable to load past a full page of filtered posts in Home timeline (#24930)

This commit is contained in:
Claire
2023-05-16 15:36:25 +02:00
committed by GitHub
parent aa4c9730f6
commit 7b54e47d03
2 changed files with 4 additions and 1 deletions

View File

@ -37,6 +37,7 @@ const makeMapStateToProps = () => {
const mapStateToProps = (state, { timelineId }) => ({
statusIds: getStatusIds(state, { type: timelineId }),
lastId: state.getIn(['timelines', timelineId, 'items'])?.last(),
isLoading: state.getIn(['timelines', timelineId, 'isLoading'], true),
isPartial: state.getIn(['timelines', timelineId, 'isPartial'], false),
hasMore: state.getIn(['timelines', timelineId, 'hasMore']),