Skip to content

Commit

Permalink
Merge branch 'master' into pat/revamp-features
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman authored Mar 7, 2023
2 parents 456038a + 638e569 commit 1e7e667
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/StakingPoolCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<MainCardPool>
Expand All @@ -101,7 +100,7 @@ function StakingPoolCard({ id, bech, avatar, tickerName, name, links, fullname }
rel="noreferrer noopener"
>
{tickerName ? <>[{tickerName}] </> : null}
{name || ''}
<span dangerouslySetInnerHTML={{ __html: name || '' }} />
</a>
<DesktopOnly>
<span className="id"> {truncateString(id)}</span>
Expand Down

0 comments on commit 1e7e667

Please sign in to comment.