From 3c2229f3a7e09503f1a6a0620f8e78ce45e004d9 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 25 Jul 2017 20:48:26 +0700 Subject: [PATCH] Remove redundant networkStatus --- client/coral-framework/hocs/withQuery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/coral-framework/hocs/withQuery.js b/client/coral-framework/hocs/withQuery.js index 9265a1656..b51467262 100644 --- a/client/coral-framework/hocs/withQuery.js +++ b/client/coral-framework/hocs/withQuery.js @@ -56,7 +56,7 @@ export default (document, config = {}) => (WrappedComponent) => { const status = networkStatusToString(networkStatus); - this.context.eventEmitter.emit(`query.${name}.${status}`, {variables, networkStatus}); + this.context.eventEmitter.emit(`query.${name}.${status}`, {variables}); } wrappedConfig = {