Update _app.tsx (#124)

This commit is contained in:
Tim Neutkens authored and Ritesh Kumar committed 2019-07-22 19:56:13 +05:30
1 parent c89ab5ff4a
commit 31d66d6c87
1 file changed
-10
-10
View File
@@ -171,13 +171,3 @@ export default function App({ Component, pageProps }) {
</Container>
);
}
App.getInitialProps = async ({ Component, ctx }) => {
let pageProps = {};
if (Component.getInitialProps) {
pageProps = await Component.getInitialProps(ctx);
}
return { pageProps };
};