Skip to content

Commit

Permalink
vaults list updates automatic fix on changing network
Browse files Browse the repository at this point in the history
  • Loading branch information
vnaysngh-mudrex committed Jun 5, 2024
1 parent 0dd96d1 commit 5472264
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/state/vaults/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5472264

Please sign in to comment.