diff --git a/app/helpers/with-data.js b/app/helpers/with-data.js index 80ac20c..d93a5a8 100644 --- a/app/helpers/with-data.js +++ b/app/helpers/with-data.js @@ -90,9 +90,7 @@ export default ComposedComponent => // Set Apollo Client initial state so the client can adopt data fetched // on the server. - initialProps.initialState = apolloClient.queryManager.dataStore - .getCache() - .extract() + initialProps.initialState = apolloClient.cache.extract() } // Return the final page component inital props