Skip to content
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

useGetPrices hook #385

Merged
merged 11 commits into from
Jul 18, 2022
Merged

useGetPrices hook #385

merged 11 commits into from
Jul 18, 2022

Conversation

tomjeatt
Copy link
Collaborator

@tomjeatt tomjeatt commented Jul 13, 2022

This PR moves prices data out of redux and uses a custom hook. Price data is still refetched every 60 seconds.

@vercel
Copy link

vercel bot commented Jul 13, 2022

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

Name Status Preview Updated
interbtc-ui-interlay ✅ Ready (Inspect) Visit Preview Jul 18, 2022 at 0:15AM (UTC)
interbtc-ui-interlay-testnet ✅ Ready (Inspect) Visit Preview Jul 18, 2022 at 0:15AM (UTC)
interbtc-ui-kintsugi ✅ Ready (Inspect) Visit Preview Jul 18, 2022 at 0:15AM (UTC)
interbtc-ui-kintsugi-testnet ✅ Ready (Inspect) Visit Preview Jul 18, 2022 at 0:15AM (UTC)

@github-actions
Copy link

Running Lighthouse audit...

src/utils/helpers/prices.ts Outdated Show resolved Hide resolved
# Conflicts:
#	src/pages/Staking/index.tsx
#	src/pages/Transfer/CrossChainTransferForm/index.tsx
#	src/pages/Vaults/Vault/RequestIssueModal/index.tsx
@tomjeatt tomjeatt merged commit 2f41ab1 into master Jul 18, 2022
@tomjeatt tomjeatt deleted the tom/price-refactor branch July 18, 2022 13:42
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.

None yet

2 participants