Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2019-12-16 23:59:00 +01:00
parent f19f4f43a6
commit 70f05363e2
33 changed files with 8242 additions and 0 deletions

23
pages/_app.tsx Normal file
View File

@ -0,0 +1,23 @@
import React from 'react'
import App from 'next/app'
class MyApp extends App {
// 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.
//
// static async getInitialProps(appContext) {
// // calls page's `getInitialProps` and fills `appProps.pageProps`
// const appProps = await App.getInitialProps(appContext);
//
// return { ...appProps }
// }
render() {
const { Component, pageProps } = this.props
return <Component {...pageProps} />
}
}
export default MyApp