Skip to content

Commit

Permalink
don't set positions to vested when withdrawing if leo is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Jan 15, 2025
1 parent 12d7bca commit 6dc121b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/app/stake/pool/confirm-withdraw/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default function ConfirmWithdrawLiquidity() {
},
lower: tickLower,
upper: tickUpper,
isVested: !isDivesting,
isVested: showLeo && !isDivesting,
};
getUsdTokenAmountsForPosition(
expectedChainId,
Expand All @@ -231,6 +231,7 @@ export default function ConfirmWithdrawLiquidity() {
);
},
[
showLeo,
expectedChainId,
isDivesting,
token0,
Expand Down

0 comments on commit 6dc121b

Please sign in to comment.