Skip to content

Instantly share code, notes, and snippets.

@abedzantout
Created September 21, 2019 10:29
Show Gist options
  • Select an option

  • Save abedzantout/cc4cefe561ec764b9778dc9c3630bacc to your computer and use it in GitHub Desktop.

Select an option

Save abedzantout/cc4cefe561ec764b9778dc9c3630bacc to your computer and use it in GitHub Desktop.

Revisions

  1. abedzantout revised this gist Sep 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pages.index.tsx
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ type Props = {}

    const IndexPage: NextPage = (props: Props) => {

    return (<div>hello world</div>)
    return (<div>Hello World!</div>)
    };

    IndexPage.getInitialProps = async ({query}) => {
  2. abedzantout created this gist Sep 21, 2019.
    17 changes: 17 additions & 0 deletions pages.index.tsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    import React from 'react';
    import { NextPage } from 'next';


    type Props = {}

    const IndexPage: NextPage = (props: Props) => {

    return (<div>hello world</div>)
    };

    IndexPage.getInitialProps = async ({query}) => {

    return {};
    };

    export default IndexPage;