mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
fixes #26609 ## Bug - [x] Related issues linked using fixes #number - [x] Integration tests added ## Documentation / Examples - [x] Make sure the linting passes
16 lines
236 B
JavaScript
16 lines
236 B
JavaScript
export function getServerSideProps(context) {
|
|
return {
|
|
props: {
|
|
query: context.query,
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function Page(props) {
|
|
return (
|
|
<>
|
|
<p id="items">{props.query.items.join(',')}</p>
|
|
</>
|
|
)
|
|
}
|