import { AppProps } from "next/app" ; import Head from "next/head" ; import { ApolloProvider } from "@apollo/client" ; import { useApollo } from "src/apollo" ; import { AuthProvider } from "src/auth/useAuth" ; import "../styles/index.css" ; export default function MyApp ( { Component , pageProps } ) { const client = useApollo ( ) ; return ( < AuthProvider > < ApolloProvider client = { client } > < Head > < title > Home Sweet Home < /title> < link rel = "icon" href = "/favicon.ico" / > < /Head> < Component { ... pageProps } /> < /ApolloProvider> < /AuthProvider>); }