From cfa8f8a31c1f4bb87ac6f1650af562c3bc3197e6 Mon Sep 17 00:00:00 2001 From: Harry Sun Date: Mon, 12 Sep 2022 12:47:56 -0400 Subject: [PATCH] update Iprops interface on _app.tsx prior to bump next --- pages/_app.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index d979d993b..60074e3bc 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -12,12 +12,16 @@ import Head from 'next/head' import '../scss/index.scss' import { useApollo } from '../helpers/apolloClient' import { ContextProvider } from '../helpers/globalContext' +import { Session } from 'next-auth' import { SessionProvider } from 'next-auth/react' import type { NextPageWithLayout } from '../@types/page' -interface IProps extends AppProps { +interface IProps

> extends AppProps { err: any apollo: ApolloClient Component: NextPageWithLayout + pageProps: P & { + session?: Session + } } function MyApp({