mirror of
https://github.com/tooot-app/app
synced 2025-02-03 20:07:52 +01:00
Update Toot.tsx
This commit is contained in:
parent
71e3bce422
commit
6a8663f9ed
@ -237,7 +237,11 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
||||
}
|
||||
|
||||
if ((query.data?.pages[0].body.length || 0) <= data.length) {
|
||||
if (!hasRemoteContent && (query.data?.pages[0].body.length || 0) <= data.length) {
|
||||
if (
|
||||
!hasRemoteContent &&
|
||||
(query.data?.pages[0].body.length || 0) <= data.length &&
|
||||
data.length > 1
|
||||
) {
|
||||
setHasRemoteContent(true)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user