In one of the page's getStaticProps
the return value had the incorrect shape.
Make sure to return the following shape from getStaticProps
:
export async function getStaticProps() {
return {
props: { [key: string]: any }
}
}
In one of the page's getStaticProps
the return value had the incorrect shape.
Make sure to return the following shape from getStaticProps
:
export async function getStaticProps() {
return {
props: { [key: string]: any }
}
}