Skip to content

Instantly share code, notes, and snippets.

@AlaBenAicha
Created October 2, 2022 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlaBenAicha/101998a1272fd7d87439e7804f4cd678 to your computer and use it in GitHub Desktop.
Save AlaBenAicha/101998a1272fd7d87439e7804f4cd678 to your computer and use it in GitHub Desktop.
import { ApolloProvider } from "@apollo/client";
import client from "../apollo-client";
import "../styles/globals.css";
function MyApp({ Component, pageProps }) {
return (
<ApolloProvider client={client}>
<Component {...pageProps} />
</ApolloProvider>
);
}
export default MyApp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment