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 24, 2024
1 parent e16f870 commit c2db9fc
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 c2db9fc

Please sign in to comment.