8 lines
168 B
JavaScript
8 lines
168 B
JavaScript
|
const Page = ({ query }) => <div>{`Query is: ${query}`}</div>
|
||
|
|
||
|
Page.getInitialProps = ({ query }) => {
|
||
|
return { query: JSON.stringify(query) }
|
||
|
}
|
||
|
|
||
|
export default Page
|