mirror of
https://github.com/tooot-app/app
synced 2025-01-14 10:25:47 +01:00
No need to retry if confirmed not found
This commit is contained in:
parent
b1f00ce99b
commit
a236adfb57
@ -35,7 +35,11 @@ const pushUseConnect = () => {
|
||||
}),
|
||||
{
|
||||
enabled: false,
|
||||
retry: 10,
|
||||
retry: (failureCount, error) => {
|
||||
if (error.status == 404) return false
|
||||
|
||||
return failureCount < 10
|
||||
},
|
||||
retryOnMount: false,
|
||||
refetchOnMount: false,
|
||||
refetchOnWindowFocus: false,
|
||||
|
Loading…
Reference in New Issue
Block a user