Skip to content

Commit

Permalink
refactor: fetch proposals reduced to 10 secs (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravellerOnTheRun authored Oct 10, 2024
1 parent 701b56d commit 4c2197f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/proposals/hooks/useFetchLatestProposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const useFetchLatestProposals = () => {
const { data } = useQuery({
queryFn: fetchProposalsCreatedCached,
queryKey: ['proposalsCreated'],
refetchInterval: 2000,
refetchInterval: 10000,
})

const latestProposals = useMemo(() => {
Expand Down

0 comments on commit 4c2197f

Please sign in to comment.