mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Use custom optimized graphql-anywhere
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user