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.
16 lines
278 B
TypeScript
16 lines
278 B
TypeScript
type StaticPropsPageProps = {
|
|
message: string
|
|
}
|
|
|
|
export function getStaticProps() {
|
|
return {
|
|
props: {
|
|
message: 'Pages getStaticProps Primary',
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function StaticPropsPage({ message }: StaticPropsPageProps) {
|
|
return <h1>{message}</h1>
|
|
}
|