Skip to content

Commit

Permalink
refactor: removes unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshnirmalya committed Aug 27, 2020
1 parent 86802d3 commit e907670
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions frontend/lib/with-graphql.tsx
Original file line number Diff line number Diff line change
@@ -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 <ApolloProvider client={client}>{children}</ApolloProvider>;
// };

// export default WithGraphQL;

import fetch from "isomorphic-unfetch";
import { Client, defaultExchanges, Provider } from "urql";
import { ReactNode } from "react";
Expand Down

0 comments on commit e907670

Please sign in to comment.