sort swap token list
This commit is contained in:
parent
04cda31516
commit
a47a3a0e54
|
@ -156,6 +156,7 @@ const SwapFormTokenList = ({
|
|||
amountWithBorrow: new Decimal(0),
|
||||
}))
|
||||
.filter((token) => (token.symbol === inputBank?.name ? false : true))
|
||||
.sort((a, b) => a.symbol.localeCompare(b.symbol))
|
||||
return filteredTokens
|
||||
} else {
|
||||
return []
|
||||
|
|
Loading…
Reference in New Issue