mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 11:17:37 +02:00
Removed console.logs
This commit is contained in:
@@ -54,31 +54,4 @@ function MyApp({ Component, pageProps, router }) {
|
||||
)
|
||||
}
|
||||
|
||||
// MyApp.getStaticProps = () => {
|
||||
// console.log('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
|
||||
// const res = await fetch('https://stuff.frylabs.net/asd.json', {
|
||||
// credentials: 'include',
|
||||
// })
|
||||
// const resp = await res.json()
|
||||
// console.log('aaaaaaaaaaaaa', resp)
|
||||
// return {
|
||||
// props: {
|
||||
// msg: 'aaaaa',
|
||||
// fetched: resp,
|
||||
// },
|
||||
// }
|
||||
// }
|
||||
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user