We are using react-router to switch between different pages. After logging in, the route is still set to /login until you press the tap on the navbar of the page you want to route to next. Is there a way to have the project go straight to the /home page after logging in?
The typical solution to this problem is setting the home page as the default / route but because the /login doesn't clear until a new nav is chosen I am having trouble finding a solution.