diff --git a/client/src/util/apollo.ts b/client/src/util/apollo.ts index 519dee5..5cf0150 100644 --- a/client/src/util/apollo.ts +++ b/client/src/util/apollo.ts @@ -44,6 +44,19 @@ export function createClient(setLoggedIn: (boolean) => void) { errorLink, retryLink ]), + defaultOptions: { + watchQuery: { + fetchPolicy: 'cache-and-network', + errorPolicy: 'ignore', + }, + query: { + fetchPolicy: 'network-only', + errorPolicy: 'all', + }, + mutate: { + errorPolicy: 'all', + }, + } }); }