diff --git a/src/components/Issuance/EmailIssuance.tsx b/src/components/Issuance/EmailIssuance.tsx index 8054a965b..c0258be07 100644 --- a/src/components/Issuance/EmailIssuance.tsx +++ b/src/components/Issuance/EmailIssuance.tsx @@ -168,13 +168,10 @@ const EmailIssuance = () => { schemaIdentifier: schemaLedgerId, attributes: Array.isArray(attributes) ? attributes : (attributes ? JSON.parse(attributes) : []), })); - - setCredentialOptions(options); - } else { - setSuccess(null); - setFailure(null); - } - setLoading(false); + setCredentialOptions(options); + } else { + setSuccess(null); + setFailure(null); } setLoading(false); }