From 299d83cebb14a71a64ee8b8d82f5923e9db9ab8c Mon Sep 17 00:00:00 2001 From: pranalidhanavade Date: Fri, 6 Sep 2024 13:11:32 +0530 Subject: [PATCH] resolve conflicts in emailissuance page Signed-off-by: pranalidhanavade --- src/components/Issuance/EmailIssuance.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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); }