Skip to content

Commit

Permalink
Fix no operations error on window refocus
Browse files Browse the repository at this point in the history
  • Loading branch information
serjonya-trili committed Apr 8, 2024
1 parent 5f460ea commit c5a515c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/operations/useGetOperations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const useGetOperations = (accounts: Account[]) => {
retry: 3,
retryDelay: retryCount => retryCount * 2000,
gcTime: 0,
refetchOnWindowFocus: false,
// next page here means the older operations
// whilst previous page means the newer operations
// that's done that way because react-query prepends
Expand Down

0 comments on commit c5a515c

Please sign in to comment.