actions/timelines: fix since_id

This commit is contained in:
Alex Gleason 2022-06-27 09:55:40 -05:00
parent b96148c9a4
commit 61968f3b84
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -145,7 +145,7 @@ const expandTimeline = (timelineId: string, path: string, params: Record<string,
}
if (!params.max_id && !params.pinned && (timeline.items || ImmutableOrderedSet()).size > 0) {
params.since_id = timeline.items || 0;
params.since_id = timeline.getIn(['items', 0]);
}
const isLoadingRecent = !!params.since_id;