From e907670c9612426b3a831d3eba106e3fb81272df Mon Sep 17 00:00:00 2001 From: Nirmalya Ghosh Date: Thu, 27 Aug 2020 14:59:49 +0530 Subject: [PATCH] refactor: removes unused code --- frontend/lib/with-graphql.tsx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/frontend/lib/with-graphql.tsx b/frontend/lib/with-graphql.tsx index a2081ee..8079609 100644 --- a/frontend/lib/with-graphql.tsx +++ b/frontend/lib/with-graphql.tsx @@ -1,17 +1,3 @@ -// import { ApolloClient, ApolloProvider, InMemoryCache } from "@apollo/client"; -// import { ReactNode } from "react"; - -// const WithGraphQL = ({ children }: { children: ReactNode }) => { -// const client = new ApolloClient({ -// uri: process.env.NEXT_PUBLIC_API_URL || "http://localhost:1337/graphql", -// cache: new InMemoryCache(), -// }); - -// return {children}; -// }; - -// export default WithGraphQL; - import fetch from "isomorphic-unfetch"; import { Client, defaultExchanges, Provider } from "urql"; import { ReactNode } from "react";