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:
@ -54,8 +54,8 @@ export const useApolloFactory = (options: Partial<Options<any>> = {}) => {
|
||||
}),
|
||||
},
|
||||
defaultOptions: {
|
||||
watchQuery: {
|
||||
fetchPolicy: 'cache-and-network',
|
||||
query: {
|
||||
fetchPolicy: 'cache-first',
|
||||
},
|
||||
},
|
||||
connectToDevTools: isDebugMode,
|
||||
|
||||
Reference in New Issue
Block a user