clean _app.tsx

This commit is contained in:
Aarni Halinen
2021-05-15 18:17:39 +03:00
parent e8485bfa50
commit cc01989b2a
+1 -13
View File
@@ -1,7 +1,6 @@
import React from "react";
// import App from "next/app";
import type { AppProps /* , AppContext' */ } from "next/app";
import Head from "next/head";
import { AppProps } from "next/app";
import styled, { createGlobalStyle } from "styled-components";
import { ToastContainer } from "react-toastify";
import { colors } from "@theme/colors";
@@ -151,15 +150,4 @@ const Web20App = ({ Component, pageProps }: AppProps) => (
</>
);
// 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.
//
// export const getInitialProps = async (appContext: AppContext) => {
// // calls page's `getInitialProps` and fills `appProps.pageProps`
// const appProps = await App.getInitialProps(appContext);
// return { ...appProps }
// }
export default Web20App;