From c63832051acc06f5e58a689a5d9984ff255287d5 Mon Sep 17 00:00:00 2001 From: KanishkaRajputd Date: Thu, 25 Apr 2024 23:03:58 +0530 Subject: [PATCH] identity hot fixes --- src/components/OnchainIdentity/IdentityForm.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/OnchainIdentity/IdentityForm.tsx b/src/components/OnchainIdentity/IdentityForm.tsx index d28d1a8cca..866eb0e90a 100644 --- a/src/components/OnchainIdentity/IdentityForm.tsx +++ b/src/components/OnchainIdentity/IdentityForm.tsx @@ -338,7 +338,7 @@ const IdentityForm = ({ form={form} initialValues={{ displayName, email: email?.value, legalName, twitter: twitter?.value }} > - {alreadyVerifiedfields?.twitter && alreadyVerifiedfields?.email && alreadyVerifiedfields?.displayName && ( + {!!alreadyVerifiedfields?.twitter && !!alreadyVerifiedfields?.email && !!alreadyVerifiedfields?.displayName && !alreadyVerifiedfields.alreadyVerified && ( - {alreadyVerifiedfields?.twitter && alreadyVerifiedfields?.email && alreadyVerifiedfields?.displayName && handleAllowSetIdentity() ? ( + {!!alreadyVerifiedfields?.twitter && + !!alreadyVerifiedfields?.email && + !!alreadyVerifiedfields?.displayName && + handleAllowSetIdentity() && + !alreadyVerifiedfields.alreadyVerified ? (