We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a6505 commit 8d52ff1Copy full SHA for 8d52ff1
frontends/api/src/ssr/usePrefetchWarnings.ts
@@ -45,13 +45,6 @@ export const usePrefetchWarnings = ({
45
*/
46
useEffect(
47
() => {
48
- /* Invalidate all learning resource queries so they are re-fetched in the client
49
- * for session specific data (user list memberships).
50
- * This is interim, until the memberships endpoint is implemented in the frontend
51
- * TODO remove once complete (see https://github.com/mitodl/hq/issues/5159)
52
- */
53
- queryClient.invalidateQueries(["learningResources"])
54
-
55
if (process.env.NODE_ENV === "production") {
56
return
57
}
0 commit comments