Invalid value returned by getStaticPaths.
InvalidGetStaticPathsReturn: Invalid type returned by
getStaticPaths
. Expected anarray
, gotRETURN_TYPE
What went wrong?
Section titled What went wrong?getStaticPaths
’s return value must be an array of objects.
See Also:
Error Reference