Skip to content

Commit

Permalink
set staleTime to 0 #1519
Browse files Browse the repository at this point in the history
  • Loading branch information
kaperoo committed Aug 17, 2023
1 parent 8853ee4 commit fa4fcbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/datagateway-download/src/downloadApiHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ export const useDownloadTypeStatuses = <TData = DownloadTypeStatus>({
},
...queryOptions,
cacheTime: 0,
staleTime: 0,
}));

// I have spent hours on this trying to make the type work,
Expand Down

0 comments on commit fa4fcbc

Please sign in to comment.