Open veract-dev opened 4 months ago
I have the same problem , I think it's because next will encodeURIComponent
the data returned by generateStaticParams, and then passing to the the component's props.params,which results props.params can not match the data
Same here, did you find a solution?
Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
Link to the code that reproduces this issue
https://github.com/veract-dev/prahars.git
To Reproduce
nextjs.config
blog/[slug]/page.tsx
Current vs. Expected behavior
Current behavior in npm build files are not generated for id with value Expected behavior to build files and generate
Provide environment information
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
updated code is in master branch