Use custom optimized graphql-anywhere

This commit is contained in:
Chi Vinh Le
2017-11-30 21:55:16 +01:00
parent 65be2b89a4
commit 3db7439d76
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ export default (document, config = {}) => hoistStatics((WrappedComponent) => {
const variables = typeof this.wrappedOptions === 'function'
? this.wrappedOptions(this.props).variables
: this.wrappedOptions.variables;
const previousResult = this.client.readQuery({
query: rootQuery,
variables,