Skip to content

Commit

Permalink
Fix blank screen when fetching schema causes an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjort committed Aug 29, 2023
1 parent c379da2 commit 4727811
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default function AddWeb3IdCredential({ onAllow, onReject }: Props) {
return credentialSubjectId;
}

if (web3IdCredentials.loading || storedWeb3IdCredentials.loading || !validationComplete) {
if (web3IdCredentials.loading || storedWeb3IdCredentials.loading || (!validationComplete && !error)) {
return null;
}

Expand Down

0 comments on commit 4727811

Please sign in to comment.