import type { AppProps } from "next/app"; import { ApolloProvider, ApolloClient, InMemoryCache } from "@apollo/client"; import MainLayout from "../layouts/main"; import "../styles/globals.css"; const client = new ApolloClient({ uri: "/graphql", cache: new InMemoryCache(), }); function MyApp({ Component, pageProps }: AppProps): JSX.Element { return ( ); } export default MyApp;