Skip to content

Commit

Permalink
Removed initial props from readme. (garmeeh#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoxocephalus authored and garmeeh committed Jan 18, 2020
1 parent 1ed56b4 commit 57e2ad4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,6 @@ import { DefaultSeo } from 'next-seo';
import SEO from '../next-seo.config';

export default class MyApp extends App {
static async getInitialProps({ Component, ctx }) {
let pageProps = {};
if (Component.getInitialProps) {
pageProps = await Component.getInitialProps(ctx);
}

return { pageProps };
}

render() {
const { Component, pageProps } = this.props;
return (
Expand Down

0 comments on commit 57e2ad4

Please sign in to comment.