Next-intl overrides generateStaticParams for all pages in next.js app
alekszych opened this issue · comments
alekszych commented
Description
Verifications
- I've verified that the problem I'm experiencing isn't covered in the docs.
- I've searched for similar, existing issues on GitHub and Stack Overflow.
- I've compared my app to a working example to look for differences.
Mandatory reproduction URL
https://github.com/amannn/next-intl-bug-repro-app-router
Reproduction description
Steps to reproduce:
- Create next.js app with app router
- Add next-intl
- Create a page with generateStaticParams
- The params are overwritten by next-intl
Expected behaviour
Next-intl is overwritten by generateStaticParams
Jan Amann commented
Your generateStaticParams
function doesn't look right to me and you also didn't provide a reproduction. I'm also not sure what the issue really is you're experiencing. Make sure to refer to the docs and examples if you run into issues with your general app setup.
I'm closing this as it appears to be a usage question and not a bug report.