import React from 'react' import withApp from '../components/withApp' class Index extends React.Component { static getInitialProps (context) { const { isServer } = context return { isServer } } render () { const { greeting } = this.props return (

Index page

{greeting}

) } } export default withApp(Index)