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:
Félix Malfait
2025-04-25 11:18:48 +02:00
committed by GitHub
parent 0c8eb149e6
commit c66b7afefb

View File

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