While the current forceRefresh on userCanVeto seems to work I would strongly recommend to do the refetching at the useProposal() of the parent component, not at the child one.
This is:
useUserCanVeto() should simply retrieve the current proposal state and digest the output. No external artifacts
useProposalVeto() could be calling refetch() on useProposal, so that everything else is properly repopulated and updated
While the current forceRefresh on userCanVeto seems to work I would strongly recommend to do the refetching at the
useProposal()
of the parent component, not at the child one.This is:
useUserCanVeto()
should simply retrieve the current proposal state and digest the output. No external artifactsuseProposalVeto()
could be callingrefetch()
onuseProposal
, so that everything else is properly repopulated and updated