mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
Update _app.tsx (#124)
This commit is contained in:
1 parent
c89ab5ff4a
commit
31d66d6c87
1 file changed
-10
@@ -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 };
|
||||
};
|
||||
Reference in new issue
Block a user