diff --git a/lib/apollo.js b/lib/apollo.js index d825efe..404770c 100644 --- a/lib/apollo.js +++ b/lib/apollo.js @@ -1,24 +1,3 @@ -// import withApollo from 'next-with-apollo'; -// import ApolloClient, { InMemoryCache } from 'apollo-boost'; -// import { ApolloProvider } from '@apollo/react-hooks'; - -// export default withApollo( -// ({ initialState }) => { -// return new ApolloClient({ -// uri: 'http://localhost:3005/graphql', -// cache: new InMemoryCache().restore(initialState || {}) -// }); -// }, -// { -// render: ({ Page, props }) => { -// return ( -// -// -// -// ); -// } -// } -// ); import React, { useMemo } from 'react' import Head from 'next/head' import { ApolloProvider } from '@apollo/react-hooks'