summaryrefslogtreecommitdiffstats
path: root/frontend
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-22 14:03:44 -0400
committerWes Bos <wesbos@gmail.com>2018-05-22 14:03:44 -0400
commit3f5d688edcdd274348abfbe5e1413bd4d61677d6 (patch)
tree91235317d3c4e6f6e0c274b4da3496bd64bc58d6 /frontend
parent71b2efd4c21a7764012b9e8599c43a0dabdde98c (diff)
parenta27007b6fe8c76f9ee8f680ef696a5549001568f (diff)
Merge branch 'master' of https://github.com/wesbos/Advanced-React
Diffstat (limited to 'frontend')
-rw-r--r--frontend/lib/withData.js2
-rw-r--r--frontend/package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/lib/withData.js b/frontend/lib/withData.js
index 6c215af..aa0ba88 100644
--- a/frontend/lib/withData.js
+++ b/frontend/lib/withData.js
@@ -33,4 +33,4 @@ function createClient({ headers }) {
});
}
-export default withApollo({ client: createClient });
+export default withApollo(createClient);
diff --git a/frontend/package.json b/frontend/package.json
index a716864..0990fef 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -23,7 +23,7 @@
"graphql-tag": "^2.9.2",
"lodash.debounce": "^4.0.8",
"next": "^6.0.3",
- "next-with-apollo": "^2.1.2",
+ "next-with-apollo": "^3.0.2",
"nprogress": "^0.2.0",
"prop-types": "^15.6.1",
"react": "^16.3.2",