mirror of
https://github.com/tooot-app/app
synced 2025-03-09 16:10:05 +01:00
Fix prepended toots not interactable
This commit is contained in:
parent
01c27d6a99
commit
30be3cdb15
@ -197,7 +197,8 @@ const TimelineRefresh: React.FC<Props> = ({
|
||||
const insert = prevCache.current?.slice(-PREV_PER_BATCH)
|
||||
prevCache.current = prevCache.current?.slice(0, -PREV_PER_BATCH)
|
||||
if (insert) {
|
||||
return { ...page, body: [...insert, ...page.body] }
|
||||
page.body.unshift(...insert)
|
||||
return page
|
||||
} else {
|
||||
return page
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user