Skip to content

Commit

Permalink
remove unneeded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Mar 25, 2024
1 parent e2933f3 commit 5b40d56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ui/proposal/useProposalCountdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ export function useProposalCountdown(proposal: FractalProposal) {
return () => {
clearInterval(countdownInterval.current);
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [proposal.state, azoriusGovernance.votingStrategy, freezeGuardType, baseContracts]);
}, [baseContracts, getCountdown]);

return secondsLeft;
}

0 comments on commit 5b40d56

Please sign in to comment.