import type { AppProps as NextAppProps } from 'next/app' ; import { AppProviders } from '../app-providers' ; /**
 * Import global styles, global css or polyfills here
 * i.e.: import '@/assets/theme/style.scss'
 */ import '../styles/global.css' ; export type AppProps = NextAppProps & { /** Will be defined only is there was an error */ err ? : Error ; } ; link const MyApp = ( { Component , pageProps , err } ) => { return ( < AppProviders > < Component { ... pageProps } err = { err } / > < /AppProviders>); } ; export default MyApp ;