You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on enhancing the liquidity management features in the
application by adding conditional checks and new properties to improve
user experience, particularly regarding staking and adding liquidity
based on the position manager's status.
### Detailed summary
- Updated `AddLiquidity` component to make `onStake` optional.
- Modified `VaultContent` to filter out DefiEdge pools based on their
status.
- Added `isDisabled` prop to `StakedAssets` and updated button behaviors
accordingly.
- Enhanced `useOnStake` hook to accept `isDisabled` parameter.
- Integrated `positionManagerStatus` checks in `LiquidityManagement` to
disable actions when the status is finished.
- Updated button components to reflect the disabled state based on
`positionManagerStatus`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`
<!-- end pr-codex -->
0 commit comments