Invalid value returned by a getStaticPaths path.
本頁內容尚未翻譯。
InvalidGetStaticPathParam: Invalid params given to
getStaticPathspath. Expected anobject, gotPARAM_TYPE
What went wrong?
Section titled What went wrong?The params property in getStaticPaths’s return value (an array of objects) should also be an object.
---export async function getStaticPaths() {  return [    { params: { slug: "blog" } },    { params: { slug: "about" } }  ];}---See Also:
Error Reference