diff --git a/src/components/StakingPoolCard.js b/src/components/StakingPoolCard.js index b9fbbdc..f077597 100644 --- a/src/components/StakingPoolCard.js +++ b/src/components/StakingPoolCard.js @@ -84,9 +84,8 @@ function StakingPoolCard({ id, bech, avatar, tickerName, name, links, fullname } const twitch = links && links.tc; const discord = links && links.di; const github = links && links.gh; - const websiteUrl = fullname == null - ? undefined - : fullname.match(/(https?:\/\/[^\s]+"?utm_source=cexplorer.io)/g); + const websiteUrl = + fullname == null ? undefined : fullname.match(/(https?:\/\/[^\s]+"?utm_source=cexplorer.io)/g); return ( @@ -101,7 +100,7 @@ function StakingPoolCard({ id, bech, avatar, tickerName, name, links, fullname } rel="noreferrer noopener" > {tickerName ? <>[{tickerName}] : null} - {name || ''} + {truncateString(id)}