Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- 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 handling of trade orders in the `V3SwapForm` component by introducing a new `betterOrder` variable and updating the references to `bestOrder` accordingly. ### Detailed summary - Added `betterOrder` in `useAllTypeBestTrade.ts` for logging purposes. - Updated `V3SwapForm` to use `betterOrder?.type` instead of `bestOrder.type`. - Adjusted dependencies in the effect hook to include `betterOrder?.type`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information