sort swap token list

This commit is contained in:
saml33 2023-01-06 15:46:36 +11:00
parent 04cda31516
commit a47a3a0e54
1 changed files with 1 additions and 0 deletions

View File

@ -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 []