Update Toot.tsx

This commit is contained in:
xmflsct 2023-02-13 21:43:02 +01:00
parent 71e3bce422
commit 6a8663f9ed
1 changed files with 5 additions and 1 deletions

View File

@ -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)
}