mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This expands test suite for deferred entries experimental handling and fixes missing handling for metadata routes and route handlers when building the non-deferred entries.
18 lines
310 B
TypeScript
18 lines
310 B
TypeScript
type StaticPropsSecondaryPageProps = {
|
|
message: string
|
|
}
|
|
|
|
export function getStaticProps() {
|
|
return {
|
|
props: {
|
|
message: 'Pages getStaticProps Secondary',
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function StaticPropsSecondaryPage({
|
|
message,
|
|
}: StaticPropsSecondaryPageProps) {
|
|
return <h1>{message}</h1>
|
|
}
|