How to "refresh" hook values when a parent component changes? #229
Unanswered
straightupjac
asked this question in
Q&A
Replies: 1 comment
-
Trying to understand the setup you described. Is it something like this? Auto-refresh on account changes should be working. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a setup where a user connects their wallet within one component and in later page interactions, I want to be able to pull that account data from the user.
Right now the useAccount hook is fired up on page load (before the user connects their wallet) and is not triggered again after the user connects their account in the child components. Is there a way to force a refresh of useAccount?
Beta Was this translation helpful? Give feedback.
All reactions