review test

This commit is contained in:
zeppi 2020-12-28 14:26:55 -05:00 committed by Sean Yesmunt
parent ad420670a7
commit e4eb8f4a26

View file

@ -206,10 +206,10 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
}
useEffect(() => {
if (isValid && shouldFetch && uri) {
if (isValid && !isResolvingUri && shouldFetch && uri) {
resolveUri(uri);
}
}, [isValid, uri, resolveUri, shouldFetch]);
}, [isValid, uri, isResolvingUri, shouldFetch]);
if (shouldHide && !showNullPlaceholder) {
return null;