Files
next.js/test/e2e/deferred-entries/pages/static-props-secondary.tsx
JJ KasperandGitHub e20f127a1f Fix missing non-deferred turbopack build items (#89616)
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.
2026-02-06 21:24:51 -08:00

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>
}