Revert "Change Apollo cache policy" (#9480)

Reverts twentyhq/twenty#9296
until we implement a fix for
https://github.com/twentyhq/twenty/issues/9299#issuecomment-2576868142
This commit is contained in:
Weiko
2025-01-09 14:04:59 +01:00
committed by GitHub
parent c535d21587
commit 8c1b9bf540

View File

@ -54,8 +54,8 @@ export const useApolloFactory = (options: Partial<Options<any>> = {}) => {
}),
},
defaultOptions: {
watchQuery: {
fetchPolicy: 'cache-and-network',
query: {
fetchPolicy: 'cache-first',
},
},
connectToDevTools: isDebugMode,