mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Update Toot.tsx
This commit is contained in:
@ -237,7 +237,11 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((query.data?.pages[0].body.length || 0) <= data.length) {
|
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)
|
setHasRemoteContent(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user