Skip to content

Commit

Permalink
Update delegate and amount
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeating committed Nov 16, 2023
1 parent 882067d commit 95e68d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/useCurrentVotingWeight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const useCurrentVotingWeight = ({ voterAddress, target }: Props) => {
abi: parseAbi(['function getVotes(address account) external view returns (uint256)']),
functionName: 'getVotes',
args: [address],
watch: true,
chainId,
});
return { data, error, isLoading };
Expand Down

0 comments on commit 95e68d1

Please sign in to comment.