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: added token balance fix bug with duplicate baseUrl #183

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

addegbenga
Copy link
Contributor

Changes

  1. Implemented functionality to display balance for the selected token.
  2. Fixed duplicate path issues in the Avnu service.
  3. Created a custom hook to optimize balance fetching.

Details

  • Token Balance Display: Added a feature to show the balance of the currently selected token, improving user visibility into their assets.

  • Avnu Service Fix: resolved issues related to duplicated paths in the Avnu service, which caused swap not to work on prod.

  • Custom Balance Hook:

    • Identified that the useBalance hook from starknet core was making multiple fetch.
    • Implemented a custom hook to optimize balance fetching, reducing network requests and improving performance.

@MSghais MSghais merged commit 40d44ac into AFK-AlignedFamKernel:main Oct 16, 2024
0 of 5 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.

2 participants