pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.7k stars 3.55k forks source link

fix: filter gauges for all scope #10950

Closed ChefJerry closed 1 week ago

ChefJerry commented 1 week ago

PR-Codex overview

This PR modifies the useGauges and useUserVoteGauges hooks to filter out gauges with a hash before processing and adds error handling for the multicall response.

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 1:19pm
6 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **aptos-web** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/aptos-web/DatDFgxukxkNYvhMVrJFEqNhKdL3)) | [Visit Preview](https://aptos-web-git-fix-empty-gauge-proxy.pancake.run) | | Nov 16, 2024 1:19pm | | **blog** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/blog/8pUtuHtkdq9cQpKJtxePYTgpJw9K)) | [Visit Preview](https://blog-git-fix-empty-gauge-proxy.pancake.run) | | Nov 16, 2024 1:19pm | | **bridge** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/bridge/BYanXW9XBM7UAdKA6ku2QNdacoLj)) | [Visit Preview](https://bridge-git-fix-empty-gauge-proxy.pancake.run) | | Nov 16, 2024 1:19pm | | **games** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/games/CJivffbbKoCnDWv5kTXFEz4r6Tsf)) | [Visit Preview](https://games-git-fix-empty-gauge-proxy.pancake.run) | | Nov 16, 2024 1:19pm | | **gamification** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/gamification/BuXkpZoEETh7t3MWcSKY1mwbethF)) | [Visit Preview](https://gamification-git-fix-empty-gauge-proxy.pancake.run) | | Nov 16, 2024 1:19pm | | **uikit** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/uikit/BJmtFXjNTDsb9NvWrL14YDygondH)) | [Visit Preview](https://uikit-git-fix-empty-gauge-proxy.pancake.run) | | Nov 16, 2024 1:19pm |
changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: d61546c3b87fa6cc49d0a0632c5ad55365e7364a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR