Skip to content

Commit

Permalink
fix: ada value to usd value as label error
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuisat committed Mar 6, 2024
1 parent 223bea3 commit 9a805eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AddressDetail/AddressHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const AddressHeader: React.FC<Props> = ({ data, loading, adaHanldeData }) => {
)
},
{
title: t("glossary.adaValue"),
title: t("glossary.usdValue"),
value: <Box>$ {exchangeADAToUSD(data?.balance || 0, adaRate, true)}</Box>
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContractDetail/AddressOverview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const AddressOverview: React.FC<Props> = ({ data, loading, lastUpdated }) => {
</StyledAAmount>
)
},
{ title: t("glossary.adaValue"), value: exchangeADAToUSD(data?.balance || 0, adaRate, true) },
{ title: t("glossary.usdValue"), value: exchangeADAToUSD(data?.balance || 0, adaRate, true) },
{
value: <TokenAutocomplete address={data?.address || ""} />
}
Expand Down
1 change: 1 addition & 0 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"common.viewAddressDetail": "View Address Detail",
"glossary.adaBalance": "ADA Balance",
"glossary.adaValue": "ADA Value",
"glossary.usdValue": "USD Value",
"glossary.searchToken": "Search Token",
"glossary.seeMore": "See more",
"glossary.more": "+more",
Expand Down

0 comments on commit 9a805eb

Please sign in to comment.