Skip to content

Commit

Permalink
fix for #1541
Browse files Browse the repository at this point in the history
  • Loading branch information
TvrtkoM committed Jul 18, 2023
1 parent 6b84a27 commit 702b5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/liquidity/ExitPoolForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const ExitPoolForm = ({
const assetName =
poolWeights.length - 1 === index
? baseAssetTicker
: market?.categories?.[index]?.name;
: market?.categories?.[id].name;

const poolAssetBalance =
poolBalances?.[id]?.pool.div(ZTG) ?? new Decimal(0);
Expand Down

0 comments on commit 702b5f1

Please sign in to comment.