Next.js Discord

Discord Forum

searchParams not work in [lng] route

jjordan0 posted this in #help-forum
Open in Discord
Hello everyone, I created a page in my next project and through a tutorial I made whole changes to my project, changing the whole structure and since I put all the files inside the [lng] folder, in the pages the "searchParams" don't work anymore, always returning an empty object.
This is the tutorial: "", could you help me?

2 Replies

I just tried changing from the package used before to next-intl, the problem persists, it only starts working again after I put all the files back out of the [local] folder, I think it may be a bug of next, I don't know
Alfonsus Ardani
You might need to send some code if you want us to take a look what went wrong