2019-11-11 04:24:53 +01:00
|
|
|
function MyApp({ Component, pageProps }) {
|
2019-11-02 16:00:55 +01:00
|
|
|
return <Component {...pageProps} />
|
|
|
|
}
|
|
|
|
|
|
|
|
// Only uncomment this method if you have blocking data requirements for
|
|
|
|
// every single page in your application. This disables the ability to
|
|
|
|
// perform automatic static optimization, causing every page in your app to
|
|
|
|
// be server-side rendered.
|
|
|
|
//
|
|
|
|
// MyApp.getInitialProps = async (appContext) => {
|
|
|
|
// // calls page's `getInitialProps` and fills `appProps.pageProps`
|
|
|
|
// const appProps = await App.getInitialProps(appContext);
|
|
|
|
//
|
|
|
|
// return { ...appProps }
|
|
|
|
// }
|
|
|
|
|
|
|
|
export default MyApp
|