Closed memoyil closed 3 weeks ago
Latest commit: fb3f96fe805096fda4e0611e0fabbba43e01db12
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
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 4, 2024 9:03am |
PR-Codex overview
This PR focuses on enhancing the
fetchPositionManager
andgetPositionManagerName
functions to support cancellation throughAbortSignal
. It also updates theuseQuery
hooks in various components to utilize these changes, improving error handling and performance.Detailed summary
fetchPositionManager
to accept an optionalsignal
parameter for cancellation.fetchPositionManager
andgetPositionManagerName
.useQuery
inusePositionManager
andusePositionManagerName
to use the newsignal
parameter.useFilteredGauges
to handle asynchronous fetching with cancellation.anySignal
utility function to manage multiple abort signals.getPositionManagerName
function to handle an optionalvaults
parameter and signal.