Closed ChefJerry closed 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 |
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.
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
PR-Codex overview
This PR modifies the
useGauges
anduseUserVoteGauges
hooks to filter out gauges with ahash
before processing and adds error handling for the multicall response.Detailed summary
useGauges.ts
, added a filter to exclude gauges with ahash
.useUserVoteGauges.ts
, removed the filter forg.hash
when mappingcontracts
.try-catch
block around the multicall to handle errors gracefully.enabled
condition to use optional chaining forgauges
.