Skip to content

Commit

Permalink
Update to tanstack query 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbabcock committed Nov 4, 2023
1 parent 4c43d88 commit 52e2f91
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
21 changes: 10 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"dependencies": {
"@tanstack/react-query": "4.36.1",
"@tanstack/react-query": "5.4.3",
"clsx": "2.0.0",
"comlink": "4.4.1",
"next": "13.5.4",
Expand Down
4 changes: 2 additions & 2 deletions src/features/viz/DownloadReplayJson.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const DownloadReplayJson = ({ replay }: DownloadReplayJsonProps) => {
// I don't want this large data cached
return null;
},
cacheTime: 0,
gcTime: 0,
enabled: false,
});

Expand All @@ -49,7 +49,7 @@ export const DownloadReplayJson = ({ replay }: DownloadReplayJsonProps) => {
downloadData(await resp.arrayBuffer(), replay.input.jsonName());
return null;
},
cacheTime: 0,
gcTime: 0,
});

return (
Expand Down

0 comments on commit 52e2f91

Please sign in to comment.