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: {
|
defaultOptions: {
|
||||||
watchQuery: {
|
query: {
|
||||||
fetchPolicy: 'cache-and-network',
|
fetchPolicy: 'cache-first',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
connectToDevTools: isDebugMode,
|
connectToDevTools: isDebugMode,
|
||||||
|
|||||||
Reference in New Issue
Block a user