-
Notifications
You must be signed in to change notification settings - Fork 664
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] Wallet balance not working #1750
Comments
@Markcode1992 Are you able to link us a small reproducible example ? There are some cases where you might not see your balance such as:
|
Hello, so I've checked everything and all is correct. With the normal button it shows but this issue is only with <ConnectButton.Custom> The balance does not show. What I noticed is if I add the <ConnectButton.Custom> with then the balance shows in both. So the issue is most definitely with the custom wallet configuration. |
Just reproduced the same issue in another project. Upgraded from 1.3.0 to 1.3.4 and the balance stopped showing in the custom connect wallet button. |
@Markcode1992 Are you able to give us a small reproducible example ? Also if you could show me the code you've written that'd be super helpful! |
Here you go: Try this, you see that the custom button doesn't show balance. But enable the commented out regular connect button and both show balance. |
Is there an existing issue for this?
RainbowKit Version
1.3.4
wagmi Version
1.4.13
Current Behavior
account.displayBalance is not working anymore and doesn't show anything
Expected Behavior
account.displayBalance is supposed to show wallet balance
Steps To Reproduce
Connect wallet and check for balance
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
Works fine to 1.3.2
The text was updated successfully, but these errors were encountered: