Update cache policy (#11732)
I couldn't reproduce https://github.com/twentyhq/twenty/issues/9299#issuecomment-2576868142 anymore Closes #4914
This commit is contained in:
@ -57,8 +57,8 @@ export const useApolloFactory = (options: Partial<Options<any>> = {}) => {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
defaultOptions: {
|
defaultOptions: {
|
||||||
query: {
|
watchQuery: {
|
||||||
fetchPolicy: 'cache-first',
|
fetchPolicy: 'cache-and-network',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
connectToDevTools: isDebugMode,
|
connectToDevTools: isDebugMode,
|
||||||
|
|||||||
Reference in New Issue
Block a user