[ConnectButton] - how to force rerender for wallet balance? #1106
Unanswered
SquanchingInHere
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m experimenting with the ConnectButton component, but I can’t get it to rerender (aside from a hard refresh on the page that rerenders everything).
I’ve tried wrapping the ConnectButton in another component and forcing that component to rerender (everything other than the ConnectButton rerenders). I’ve tried adding extra state variables to the ConnectButton (and forcing those state variables to change).
No matter what I try, I can’t get the ConnectButton to rerender.
Does anyone know how to force it to rerender?
More to the point, I'm just trying to get it to display the correct wallet balance after a successful transaction that changes the balance. Another workaround would be to just hide the wallet balance altogether (any tips on how to do that easily would also be appreciated).
Beta Was this translation helpful? Give feedback.
All reactions