From 547226413ddcd4ae1c355918322c057c2b031c53 Mon Sep 17 00:00:00 2001 From: Vinay Singh Date: Wed, 5 Jun 2024 14:44:45 +0530 Subject: [PATCH] vaults list updates automatic fix on changing network --- src/state/vaults/hooks.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/state/vaults/hooks.tsx b/src/state/vaults/hooks.tsx index e0a9aede..5f510e88 100644 --- a/src/state/vaults/hooks.tsx +++ b/src/state/vaults/hooks.tsx @@ -147,10 +147,6 @@ export function useAllVaults() { if (isFetchingRef.current || !chainId) { return } - if (!isEmpty(allVaults)) { - setIsLoading(false) - return - } setError(null) setIsLoading(true) isFetchingRef.current = true