rsnext/test/integration/dynamic-routing/pages/p1/p2/nested-all-ssg/[...rest]/index.js
Joe Haddad a30e94f21a
Fix Nested Index Dynamic Routes in Development (#10595)
* Fix Nested Index Dynamic Routes in Development

* add missing
2020-02-19 11:13:04 -05:00

15 lines
298 B
JavaScript

import styles from './styles.module.css'
function All({ params }) {
return (
<div id="nested-all-ssg-content" className={styles.test}>
{JSON.stringify(params)}
</div>
)
}
export function unstable_getStaticProps({ params }) {
return { props: { params } }
}
export default All