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

Bug in useTokenBalance documentation #1137

Open
cortesa opened this issue Aug 31, 2023 · 0 comments
Open

Bug in useTokenBalance documentation #1137

cortesa opened this issue Aug 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@cortesa
Copy link

cortesa commented Aug 31, 2023

Describe the bug
useTokenBalance documentation is wrong

To Reproduce
Using version ^1.2.11 of usedapp/core
Goes to doc section (https://usedapp-docs.netlify.app/docs/getting%20started/reading/#token-balance) and if you test the hook
with the address in the order that docs said it return undefined to make it work use the other way round, first token address, then user address

Software versions

  • useDapp ^1.2.11 (installed version of @usedapp/core)
  • Package manager ( pnpm)
  • Node version (v18.15.0)

Additional context

  • Add any other context about the problem here
  • Include screenshoots if applicable
@cortesa cortesa added the bug Something isn't working label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant