From 3740592a3e3030b9c417772574a1c25f95bbe310 Mon Sep 17 00:00:00 2001 From: Ashray Chowdhry Date: Thu, 12 Dec 2024 15:30:03 -0800 Subject: [PATCH] fix double issuer address logic --- .../shared/components/TokenSearchResults/TokenSearchRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/shared/components/TokenSearchResults/TokenSearchRow.tsx b/src/containers/shared/components/TokenSearchResults/TokenSearchRow.tsx index 0b1e4066a..47bdaef51 100644 --- a/src/containers/shared/components/TokenSearchResults/TokenSearchRow.tsx +++ b/src/containers/shared/components/TokenSearchResults/TokenSearchRow.tsx @@ -41,10 +41,10 @@ const IssuerAddress: FC<{ token: any; onClick: any }> = ({ token, onClick }) => className="issuer-link" >
- {token.meta.issuer.name ? `${token.meta.issuer.name} (` : token.issuer} + {token.meta.issuer.name && `${token.meta.issuer.name} (`}
{token.issuer}
-
)
+ {token.meta.issuer.name &&
)
} ) : null