Skip to content

Bug in useTokenBalance documentation #1137

@cortesa

Description

@cortesa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions