import { type Session } from "next-auth"; import { SessionProvider } from "next-auth/react"; import { type AppType } from "next/app"; import { api } from "~/utils/api"; import { ChakraProvider } from "@chakra-ui/react"; import theme from "~/utils/theme"; import Favicon from "~/components/Favicon"; import "~/utils/analytics"; import Head from "next/head"; const MyApp: AppType<{ session: Session | null }> = ({ Component, pageProps: { session, ...pageProps }, }) => { return ( <> ); }; export default api.withTRPC(MyApp);