forked from Kieran/snort
Merge pull request #71 from v0l/error-verification
fix: don't retry errored verifications
This commit is contained in:
commit
ed4201e773
@ -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