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 improving the filtering of `gauges` in the `useUserVoteGauges` hook to ensure only valid gauges with a `hash` are processed when creating the `contracts` array. ### Detailed summary - Added a `.filter((g) => !!g.hash)` to ensure only gauges with a valid `hash` are included. - The structure of the `contracts` array creation remains the same, but now excludes any invalid gauges. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information