rsnext/test/integration/query-with-encoding/pages/index.js
Joe Haddad eb38d223e6
Test Query String Behavior (#10102)
* Test Query String Behavior

* Test Query String with %

* Test Query String With LF

* Update test

* Consolidate

* Consolidate
2020-01-20 15:16:18 -05:00

7 lines
163 B
JavaScript

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