2019-11-11 04:24:53 +01:00
|
|
|
function Page({ message }) {
|
2019-11-02 16:00:55 +01:00
|
|
|
return <div>{message}</div>
|
|
|
|
}
|
|
|
|
|
|
|
|
Page.getInitialProps = async ({ req }) => {
|
|
|
|
return {
|
2019-11-11 04:24:53 +01:00
|
|
|
message: 'Hello World!!!',
|
2019-11-02 16:00:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Page
|