rsnext/test/integration/query-with-encoding/pages/index.js

8 lines
163 B
JavaScript
Raw Normal View History

const Index = ({ query }) => (
<pre id="query-content">{JSON.stringify(query)}</pre>
)
Index.getInitialProps = ({ query }) => ({ query })
export default Index