From 0ea596dc9af388fb7cc8ada50f47aab693ce0dbe Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Tue, 22 May 2018 12:53:16 -0500 Subject: Updated next-with-apollo to v3 --- frontend/lib/withData.js | 2 +- frontend/package.json | 2 +- 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", -- cgit v1.3