no resolve undefined pls
This commit is contained in:
parent
070d051e16
commit
5fa57e1859
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function FileThumbnail(props: Props) {
|
|||
const hasResolvedClaim = claim !== undefined;
|
||||
|
||||
React.useEffect(() => {
|
||||
if (!hasResolvedClaim) {
|
||||
if (!hasResolvedClaim && uri) {
|
||||
doResolveUri(uri);
|
||||
}
|
||||
}, [hasResolvedClaim, uri, doResolveUri]);
|
||||
|
|
Loading…
Reference in a new issue