Change default fetch policy
This commit is contained in:
parent
d0de4ffe9f
commit
6d190bcc71
|
@ -64,7 +64,7 @@ export function createProvider(options = {}) {
|
|||
defaultClient: apolloClient,
|
||||
defaultOptions: {
|
||||
$query: {
|
||||
// fetchPolicy: 'cache-and-network',
|
||||
fetchPolicy: 'cache-and-network'
|
||||
}
|
||||
},
|
||||
errorHandler(error) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user