Skip to content

Commit

Permalink
Merge pull request #3278 from cardano-foundation/fix/MET-2051-missing…
Browse files Browse the repository at this point in the history
…-text-pool-list

fix: MET-2051 add missing text tooltip pool name
  • Loading branch information
Sotatek-TaiTruong authored Apr 8, 2024
2 parents 77cdf45 + 049168f commit d678dd5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/DelegationPool/DelegationList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,18 @@ const DelegationLists: React.FC = () => {
minWidth: "200px",
maxWidth: "200px",
render: (r) => (
<CustomTooltip title={r.tickerName || ""}>
<CustomTooltip
title={
r.tickerName ? (
<>
<Box fontWeight={"bold"} component={"span"}>
Ticker:{" "}
</Box>
{r.tickerName}
</>
) : undefined
}
>
<PoolName to={{ pathname: details.delegation(r.poolId), state: { fromPath } }}>
<Box component={"span"} textOverflow={"ellipsis"} whiteSpace={"nowrap"} overflow={"hidden"}>
{r.poolName || `${getShortHash(r.poolId)}`}
Expand Down

0 comments on commit d678dd5

Please sign in to comment.