Different params received in unstable_getStaticProps
in development and production (ZEIT)
#10598
Milestone
unstable_getStaticProps
in development and production (ZEIT)
#10598
Bug report
Describe the bug
Having a page at
/docs/p/[...chunks]/index.js
, and visiting ie./docs/p/foo/bar
:unstable_getStaticProps
function receives{ params: ['foo', 'bar'] }
{ params: [ 'foo/bar' ] }
Expected behavior
I guess
{ params: ['foo', 'bar'] }
is the correct one.Screenshots
Runtime error on ZEIT:
System information
Version of Next.js: 9.2.1
The text was updated successfully, but these errors were encountered: