diff --git a/src/components/@shared/PoolTransactions/Title.tsx b/src/components/@shared/PoolTransactions/Title.tsx index b4cdb62c6..4c2de1f05 100644 --- a/src/components/@shared/PoolTransactions/Title.tsx +++ b/src/components/@shared/PoolTransactions/Title.tsx @@ -52,9 +52,12 @@ function getTitle(row: PoolTransaction, locale: string) { } case 'JOIN': case 'EXIT': { - const tokenMoved = row.baseTokenValue > 0 ? row.baseToken : row.datatoken + const tokenMoved = + Math.abs(row.baseTokenValue) > 0 ? row.baseToken : row.datatoken const tokenValueMoved = - row.baseTokenValue > 0 ? row.baseTokenValue : row.datatokenValue + Math.abs(row.baseTokenValue) > 0 + ? row.baseTokenValue + : row.datatokenValue const tokenSymbol = tokenMoved.symbol title += `${row.type === 'JOIN' ? 'Add' : 'Remove'} ${formatPrice(