Skip to content

Commit

Permalink
fix: exception on manage liquidity (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick134-bit authored Apr 10, 2024
1 parent 999bc3a commit 225612c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export const findPoolForSwap = ({
tokenB,
}) => {
const matchingAB =
poolTokenA.symbol === tokenA.symbol && poolTokenB.symbol === tokenB.symbol
poolTokenA.symbol === tokenA?.symbol && poolTokenB.symbol === tokenB?.symbol

const matchingBA =
poolTokenA.symbol === tokenB.symbol && poolTokenB.symbol === tokenA.symbol
poolTokenA.symbol === tokenB?.symbol && poolTokenB.symbol === tokenA?.symbol

return { matchingAB,
matchingBA }
Expand Down

0 comments on commit 225612c

Please sign in to comment.