Skip to content

Commit

Permalink
remove pattern path data caching, was experiencing some weird issues …
Browse files Browse the repository at this point in the history
…when coming back to app from background. Something to look at in future.
  • Loading branch information
bwees committed Sep 23, 2024
1 parent 1a48f1d commit 1cc2487
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/data/api_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ export const usePatternPaths = () => {
enabled: baseDataQuery.isSuccess,
staleTime: 2 * 3600 * 1000, // 2 hours
refetchInterval: 2 * 3600 * 1000, // 2 hours
meta: {
persist: true
}
});

return query
Expand Down

0 comments on commit 1cc2487

Please sign in to comment.