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

Refactor/fetch prices #310

Merged
merged 15 commits into from
May 27, 2022

Conversation

crypto-engineer
Copy link
Contributor

@crypto-engineer crypto-engineer commented May 27, 2022

  • Correct loading procedures at App component.
  • Refactor fetchPrices using react-query's interval functionality instead of window.setInterval (it had no unsubscription as well which is handled automatically via react-query).

@vercel
Copy link

vercel bot commented May 27, 2022

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

Name Status Preview Updated
interbtc-ui-interlay ✅ Ready (Inspect) Visit Preview May 27, 2022 at 3:50PM (UTC)
interbtc-ui-kintsugi ✅ Ready (Inspect) Visit Preview May 27, 2022 at 3:50PM (UTC)
interbtc-ui-testnet ✅ Ready (Inspect) Visit Preview May 27, 2022 at 3:50PM (UTC)

@crypto-engineer crypto-engineer marked this pull request as draft May 27, 2022 10:32
@github-actions
Copy link

Running Lighthouse audit...

@tomjeatt
Copy link
Collaborator

hi @crypto-engineer could you fix the conflicts and run prettier? Thanks :)

@tomjeatt
Copy link
Collaborator

hi @crypto-engineer could you fix the conflicts and run prettier? Thanks :)

Sorry, just realised this is WIP :) let me know when it's ready to review

src/App.tsx Outdated Show resolved Hide resolved
src/common/actions/general.actions.ts Outdated Show resolved Hide resolved
src/App.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@peterslany peterslany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@crypto-engineer crypto-engineer self-assigned this May 27, 2022
@crypto-engineer crypto-engineer added the enhancement New feature or request label May 27, 2022
@crypto-engineer crypto-engineer merged commit df2ce8a into interlay:master May 27, 2022
@crypto-engineer crypto-engineer deleted the refactor/fetch-prices branch May 27, 2022 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants