rsnext/test/integration/route-indexes/pages/sub/[id].js
JJ Kasper cc9678056e
Fix inconsistent handling for /index (#11643)
* Fix inconsistent handling for /index

* Add more test cases

* Add pages/index/index.js test

Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 13:24:53 -04:00

3 lines
106 B
JavaScript

const page = () => 'hello from sub id'
page.getInitialProps = () => ({ hello: 'hi' })
export default page