Skip to content

Commit

Permalink
fix: display thorchain and cosmos account label as the address (as wi…
Browse files Browse the repository at this point in the history
…th EVMs)
  • Loading branch information
woodenfurniture committed May 7, 2024
1 parent 0c2f821 commit a23374e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/state/slices/portfolioSlice/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export const accountIdToLabel = (accountId: AccountId): string => {
case bscChainId:
case arbitrumChainId:
case arbitrumNovaChainId:
// this will be the 0x account
case thorchainChainId:
case cosmosChainId:
return firstFourLastFour(pubkey)
case btcChainId:
// TODO(0xdef1cafe): translations
Expand All @@ -76,10 +77,6 @@ export const accountIdToLabel = (accountId: AccountId): string => {
return ''
case bchChainId:
return 'Bitcoin Cash'
case cosmosChainId:
return 'Cosmos'
case thorchainChainId:
return 'Thorchain'
case dogeChainId:
return 'Dogecoin'
case ltcChainId:
Expand Down

0 comments on commit a23374e

Please sign in to comment.