Skip to content

Commit

Permalink
update Iprops interface on _app.tsx prior to bump next
Browse files Browse the repository at this point in the history
  • Loading branch information
HS-90 committed Sep 12, 2022
1 parent 8c30490 commit cfa8f8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<P = Record<string, unknown>> extends AppProps {
err: any
apollo: ApolloClient<NormalizedCacheObject>
Component: NextPageWithLayout
pageProps: P & {
session?: Session
}
}

function MyApp({
Expand Down

0 comments on commit cfa8f8a

Please sign in to comment.