Hello. I have the following error:
It happens when clicking on a button from another route, here the code.
This error only occurs if there is a redirection of the Home route like this:
The funny thing is that if I enter directly from the browser to the path ’ / ’ the redirect does work. I have no idea why router.push doesn’t work.
1 post - 1 participant