Skip to content

Commit

Permalink
refactor: schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtiti committed Aug 15, 2024
1 parent a3a43a6 commit b7113f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/containers/Tokens/TokensTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ export const TokensTable = ({ tvl }: TotalValueLockedProps) => {
{tvl.map((token, index) => (
<STableRow key={index}>
<LogoCell>
<TokenAvatar alt={token.tokenName} src={token.imageUrl} />
<TokenAvatar alt={token.name} src={token.imageUrl} />
<Typography>
{token.tokenName} ({token.token})
{token.name} ({token.symbol})
</Typography>
</LogoCell>

<STableCell>${token.price.toLocaleString()}</STableCell>

<STableCell>${((token.total * token.price) / 1e18).toLocaleString()}</STableCell>
<STableCell>${((token.amountUsd * token.price) / 1e18).toLocaleString()}</STableCell>
</STableRow>
))}
</STableBody>
Expand Down

0 comments on commit b7113f5

Please sign in to comment.