From 5b40d562723f7f3470990610fb4d02179d87197d Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Mon, 25 Mar 2024 16:44:24 -0400 Subject: [PATCH] remove unneeded dependencies --- src/components/ui/proposal/useProposalCountdown.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ui/proposal/useProposalCountdown.tsx b/src/components/ui/proposal/useProposalCountdown.tsx index b4ae3d837c..b3d7e832e9 100644 --- a/src/components/ui/proposal/useProposalCountdown.tsx +++ b/src/components/ui/proposal/useProposalCountdown.tsx @@ -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; }