1
0
forked from Kieran/snort

fix: don't retry errored verifications

This commit is contained in:
Alejandro Gomez 2023-01-16 01:16:30 +01:00
parent fd0ce62428
commit 147cc3b00b
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

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