Skip to content

Quote loading state is very glitchy, resolves FRONT-915#100

Open
yasha-meursault wants to merge 5 commits intodevfrom
dev-quote-loading
Open

Quote loading state is very glitchy, resolves FRONT-915#100
yasha-meursault wants to merge 5 commits intodevfrom
dev-quote-loading

Conversation

@yasha-meursault
Copy link
Copy Markdown
Contributor

SWR's keepPreviousData retains stale quotes across key changes (e.g. different token pairs), which can flash incorrect pricing. Using a ref ensures stale data is only shown while the same key is revalidating and is cleared on errors.

different token pairs), which can flash incorrect pricing. Using a ref
ensures stale data is only shown while the same key is revalidating and
is cleared on errors.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trainapp Ready Ready Preview Mar 25, 2026 0:19am

Request Review

block the buttons while the quote loads

fix issue with small amoutns failing validation  due to JS scientific notation conversion. fix by regex testing the raw input string instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant