From 97109b65a7ebee3d6529c5d103210890d96c118e Mon Sep 17 00:00:00 2001 From: Alexander Evchenko Date: Thu, 10 Oct 2024 12:12:27 +0400 Subject: [PATCH] refactor: fetch proposals reduced to 10 secs --- src/app/proposals/hooks/useFetchLatestProposals.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/proposals/hooks/useFetchLatestProposals.ts b/src/app/proposals/hooks/useFetchLatestProposals.ts index 14548830..0b617ee7 100644 --- a/src/app/proposals/hooks/useFetchLatestProposals.ts +++ b/src/app/proposals/hooks/useFetchLatestProposals.ts @@ -8,7 +8,7 @@ export const useFetchLatestProposals = () => { const { data } = useQuery({ queryFn: fetchProposalsCreatedCached, queryKey: ['proposalsCreated'], - refetchInterval: 2000, + refetchInterval: 10000, }) const latestProposals = useMemo(() => {