fix swap history filtering

This commit is contained in:
saml33 2023-04-24 11:51:46 +10:00
parent 302dadd35b
commit 8b53a01232
1 changed files with 4 additions and 1 deletions

View File

@ -201,7 +201,10 @@ const SwapTokenChart = () => {
!outputBank !outputBank
) )
return [] return []
const chartSymbols = [inputBank.name, outputBank.name] const chartSymbols = [
formatTokenSymbol(inputBank.name),
formatTokenSymbol(outputBank.name),
]
return swapHistory return swapHistory
.filter( .filter(
(swap) => (swap) =>