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

Exchange integration #247

Merged
merged 9 commits into from
Apr 9, 2024
Merged

Exchange integration #247

merged 9 commits into from
Apr 9, 2024

Conversation

Aliiiu
Copy link
Contributor

@Aliiiu Aliiiu commented Apr 8, 2024

Exchange Integration

This PR works on integrating exchange UI in the dashboard

Linked issues

closes EveripediaNetwork/issues#2462

Copy link

stackblitz bot commented Apr 8, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Apr 8, 2024

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

Name Status Preview Updated (UTC)
iq-dashboard ✅ Ready (Inspect) Visit Preview Apr 8, 2024 9:05pm

@Dewalz
Copy link

Dewalz commented Apr 8, 2024

Screenshot 2024-04-08 at 10 00 33 AM for the mobile screen, the stroke separating the icons is missing, also the right padding is not looking the same with the rest in other frame. left and right padding in each frame should be 12px

@Dewalz
Copy link

Dewalz commented Apr 8, 2024

Screenshot 2024-04-08 at 10 11 37 AM see the design on Figma

Copy link

@Simplypheyie96 Simplypheyie96 left a comment

Choose a reason for hiding this comment

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

  • The arrow is not clickable but it's the main navigation to the swap page as other texts are not clickable, so the arrow should also navigate to the swap page on click
image

const { data: erc20Balance, refetch: refetchErc20Balance } = useBalance({
address: address,
token: config.iqAddress as `0x${string}`,
enabled: shouldFetchBalance,
Copy link
Contributor

Choose a reason for hiding this comment

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

enabled is already set to false on undefined address
image

Copy link
Contributor Author

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

Copy link

codeclimate bot commented Apr 8, 2024

Code Climate has analyzed commit 750ffaf and detected 0 issues on this pull request.

View more on Code Climate.

@Aliiiu Aliiiu merged commit 1b40315 into main Apr 9, 2024
3 checks passed
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.

Update on the iq dashboard to include the exchanges
5 participants