260707de68
Fixes #11711 Also cleaned up some extra code. This was already supported on the Vercel edge network.
11 lines
205 B
JavaScript
11 lines
205 B
JavaScript
export async function getStaticProps() {
|
|
return {
|
|
props: {
|
|
myStaticProp: 'hello world',
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function FullyStatic({ myStaticProp }) {
|
|
return <h1>{myStaticProp}</h1>
|
|
}
|