I use React with React Router Dom.
I have a small bug in the dev environment everything works fine, in the production environment when I login, the page refreshes.
This is a problem because in a private browser the user loses their session and hence is unable to login, every time I login it refreshes the page and I instantly lose my session i dont know why
In localhost all work fine 🤯