rsnext/test/integration/mixed-ssg-serverprops-error/pages/index.js.alt

14 lines
273 B
Text
Raw Normal View History

export const unstable_getStaticPaths = async () => {
return {
props: { world: 'world' }, fallback: true
}
}
export const unstable_getServerSideProps = async () => {
return {
props: { world: 'world' }
}
}
export default ({ world }) => <p>Hello {world}</p>