Skip to content

Commit

Permalink
ETH for bsc WETH
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Jul 17, 2024
1 parent 98b3416 commit c25ef3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/helpers/tokenSymbol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export function getMASSASymbol(symbol: string) {
}
export function getEVMSymbol(symbol: string) {
// removes any ". + alphanumeric " from string
if (symbol === 'WETH.b') return 'ETH';
return symbol.replace(/\.[^.]+$/, '');
}

0 comments on commit c25ef3e

Please sign in to comment.