-
Notifications
You must be signed in to change notification settings - Fork 27
feat: add quote query options to SwapWidget #728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add quote query options to SwapWidget #728
Conversation
🦋 Changeset detectedLatest commit: a1f8a97 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@pradel is attempting to deploy a commit to the Uneven Labs Team on Vercel. A member of the Team first needs to authorize it. |
Are you passing a |
|
I can try this. How can we set the |
|
The |
|
An example of a route with issues:
|
|
It appears that there is just low liquidity with this specific route, causing the quote to be unreliable. I have pinged our backend team about this and will let you know if I get any updates |
The
useQuotehook sometimes errors with the "No route found" error; usually, just retrying to get a quote will give a valid one after the error. To improve the experience of our users we need a way to automatically retry to get a quote before showing an error to the user.This can be achieved if we can pass the
retryoptions to react-query for theuseQuotehook to prevent such errors from happening. Lmk your thoughts on the approach, thanks.