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

fix: 148 add current token price information #157

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

dib542
Copy link
Collaborator

@dib542 dib542 commented Oct 19, 2022

This fix removes the incorrect workaround for exhaustive dependencies for React hooks:

// eslint-disable-next-line react-hooks/exhaustive-deps

The hooks have been redone (a little less efficiently as an extra useMemo is needed) in a way to keep the logic clear around creation of the vars tokens and cachedResults. I thought to rename cachedResults to just results but this will cause a future merge conflict in the work for the My Liquidity page in #156 which is quite large at the moment.

@dib542 dib542 linked an issue Oct 19, 2022 that may be closed by this pull request
@dib542 dib542 merged commit b122ec3 into main Oct 19, 2022
@dib542 dib542 deleted the fix-148-add-current-token-price-information branch October 19, 2022 12:35
dib542 pushed a commit that referenced this pull request Oct 19, 2022
## [0.1.32](v0.1.31...v0.1.32) (2022-10-19)

### Fixes

* 148 add current token price information ([#157](#157)) ([b122ec3](b122ec3))
@dib542
Copy link
Collaborator Author

dib542 commented Oct 19, 2022

🎉 This PR is included in version 0.1.32 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add current token price information
1 participant