14 lines
255 B
JavaScript
14 lines
255 B
JavaScript
|
export const unstable_getStaticProps = async () => {
|
||
|
return {
|
||
|
props: { world: 'world' },
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export const unstable_getServerProps = async () => {
|
||
|
return {
|
||
|
props: { world: 'world' },
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default ({ world }) => <p>Hello {world}</p>
|