-
Notifications
You must be signed in to change notification settings - Fork 2
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
Exchange integration #247
Exchange integration #247
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/hooks/useErc20.ts
Outdated
const { data: erc20Balance, refetch: refetchErc20Balance } = useBalance({ | ||
address: address, | ||
token: config.iqAddress as `0x${string}`, | ||
enabled: shouldFetchBalance, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enabled prop is to prevent the hook from continuously running when the address is undefined. If it is not specified the hook will run continuously and throw error when the address is undefined
Code Climate has analyzed commit 750ffaf and detected 0 issues on this pull request. View more on Code Climate. |
Exchange Integration
This PR works on integrating exchange UI in the dashboard
Linked issues
closes EveripediaNetwork/issues#2462