mirror of https://github.com/tooot-app/app
Make remote fetch more lazy
Sometime the local instance responses slower that would result in all the context are remote, which is not ideal.
This commit is contained in:
parent
3cac12fb9e
commit
5ce7d50f8f
|
@ -178,6 +178,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
|||
},
|
||||
{
|
||||
enabled:
|
||||
query.isFetched &&
|
||||
['public', 'unlisted'].includes(toot.visibility) &&
|
||||
match?.domain !== getAccountStorage.string('auth.domain'),
|
||||
staleTime: 0,
|
||||
|
|
Loading…
Reference in New Issue