Skip to content

Commit

Permalink
Merge pull request #786 from hats-finance/fix/subgraph-refetch
Browse files Browse the repository at this point in the history
chore: removed refetch
  • Loading branch information
shayzluf authored Dec 10, 2024
2 parents ea42172 + 68b6af7 commit 5bc9ce1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const useMultiChainVaultsV2 = () => {
queries: Object.keys(appChains).map((chainId) => ({
queryKey: ["subgraph", chainId],
queryFn: () => getSubgraphData(+chainId, account),
refetchInterval: DATA_REFRESH_TIME,
// refetchInterval: DATA_REFRESH_TIME, // We dont want to refetch data automatically anymore
refetchIntervalInBackground: false,
retry: false,
})),
Expand Down

0 comments on commit 5bc9ce1

Please sign in to comment.