ignoring assignments that cannot be parsed

This commit is contained in:
2024-09-23 22:15:20 -06:00
parent 55cb135d5d
commit eb73b7217f
12 changed files with 97 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
import { isServer, QueryClient } from "@tanstack/react-query";
import { isServer, QueryCache, QueryClient } from "@tanstack/react-query";
export function makeQueryClient() {
return new QueryClient({
@@ -13,6 +13,9 @@ export function makeQueryClient() {
refetchOnMount: false,
},
},
queryCache: new QueryCache({
onError: (e) => console.log("error in query client", e),
}),
});
}