Skip to content

Commit

Permalink
simplify dep array
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Aug 2, 2023
1 parent 22a284f commit 090db79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/modals/ProposalSigning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const ProposalSigning = ({
// if it's the last approval call, we must use asMulti and have the call data
// either from the chain, or from users
return proposalData.info?.approvals.length >= threshold - 1
}, [isProposerSelected, proposalData.info?.approvals, threshold])
}, [isProposerSelected, proposalData, threshold])
const onSubmitting = useCallback(() => {
setIsSubmitting(false)
onClose()
Expand Down

0 comments on commit 090db79

Please sign in to comment.