Skip to content

Commit

Permalink
changed apollo client cache policies
Browse files Browse the repository at this point in the history
  • Loading branch information
krisbitney committed Jan 18, 2024
1 parent f45e177 commit 0c91c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/hooks/apollo/useCreateMongoDbApolloClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ export const useCreateMongoDbApolloClient = (): ApolloClient<any> | undefined =>
}),
defaultOptions: {
watchQuery: {
fetchPolicy: 'no-cache',
fetchPolicy: 'cache-and-network',
},
query: {
fetchPolicy: 'no-cache',
fetchPolicy: 'cache-first',
},
},
});
Expand Down

0 comments on commit 0c91c96

Please sign in to comment.