You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of a newly created wallet that has no balance, isLoading is always true which makes it look like the balance is loading forever where instead there's actually no balance.
...
To Reproduce
Steps to reproduce the behavior:
Create an app that connects a wallet and displays a balance using useBalance
Create a new wallet that has no coins
Connect the wallet
Expected behavior
isLoading becomes false to indicate the balance has been loaded. data can continue to be undefined to indicate there is no balance.
Describe the bug
A clear and concise description of what the bug is.
In case of a newly created wallet that has no balance,
isLoading
is always true which makes it look like the balance is loading forever where instead there's actually no balance....
To Reproduce
Steps to reproduce the behavior:
useBalance
Expected behavior
Temporary workaround
The text was updated successfully, but these errors were encountered: