forked from Kieran/snort
fix: don't retry errored verifications
This commit is contained in:
parent
fd0ce62428
commit
147cc3b00b
@ -30,6 +30,7 @@ export function useIsVerified(nip05, pubkey) {
|
|||||||
() => fetchNip05Pubkey(name, domain),
|
() => fetchNip05Pubkey(name, domain),
|
||||||
{
|
{
|
||||||
retry: false,
|
retry: false,
|
||||||
|
retryOnMount: false,
|
||||||
cacheTime: VERIFICATION_CACHE_TIME,
|
cacheTime: VERIFICATION_CACHE_TIME,
|
||||||
staleTime: VERIFICATION_STALE_TIMEOUT
|
staleTime: VERIFICATION_STALE_TIMEOUT
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user