From d0a4cf49b8c6789c1feaac3424ccd2f7031dbf89 Mon Sep 17 00:00:00 2001 From: yuchuan Date: Tue, 24 Nov 2020 17:23:10 +0800 Subject: [PATCH] fix:Could not find "client" ... --- src/helpers/with-data.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/with-data.tsx b/src/helpers/with-data.tsx index 0e98bda..c8bdec3 100644 --- a/src/helpers/with-data.tsx +++ b/src/helpers/with-data.tsx @@ -1,5 +1,5 @@ /* eslint-disable react/jsx-props-no-spreading */ -import { ApolloProvider } from '@apollo/react-common'; +import { ApolloProvider } from '@apollo/react-hooks'; import { getDataFromTree } from '@apollo/react-ssr'; import { NormalizedCacheObject } from 'apollo-cache-inmemory/lib/types'; import { ApolloClient } from 'apollo-client';