diff --git a/centrifuge-app/src/components/Portfolio/TokenListItem.tsx b/centrifuge-app/src/components/Portfolio/TokenListItem.tsx index 59cad67eff..271bc96f0b 100644 --- a/centrifuge-app/src/components/Portfolio/TokenListItem.tsx +++ b/centrifuge-app/src/components/Portfolio/TokenListItem.tsx @@ -15,7 +15,7 @@ import { import { useTheme } from 'styled-components' import { usePool } from '../../utils/usePools' import { Eththumbnail } from '../EthThumbnail' -import { Ellipsis, Root } from '../ListItemCardStyles' +import { Root } from '../ListItemCardStyles' export type TokenCardProps = AccountTokenBalance @@ -40,33 +40,25 @@ export function TokenListItem({ balance, currency, poolId, trancheId }: TokenCar )} - - {currency.name} + + {currency.name} - - {formatBalance(balance, currency.symbol)} + + {formatBalance(balance, currency.symbol)} - - - {trancheInfo?.tokenPrice - ? formatBalance(trancheInfo.tokenPrice.toDecimal(), trancheInfo.currency.symbol, 4) - : '-'} - + + {trancheInfo?.tokenPrice + ? formatBalance(trancheInfo.tokenPrice.toDecimal(), trancheInfo.currency.symbol, 4) + : '-'} - - - {trancheInfo?.tokenPrice - ? formatBalance( - balance.toDecimal().mul(trancheInfo.tokenPrice.toDecimal()), - trancheInfo.currency.symbol, - 4 - ) - : '-'} - + + {trancheInfo?.tokenPrice + ? formatBalance(balance.toDecimal().mul(trancheInfo.tokenPrice.toDecimal()), trancheInfo.currency.symbol, 4) + : '-'}