How to Ensure that Clicks on Element in Nav Bar Correctly Redirect Authenticated Users to the Dashboard Page?
I’m experiencing an issue with my web application where clicking on an account icon behaves inconsistently. When I click near the edge of the account icon, it correctly redirects to the dashboard page. However, clicking in the middle of the icon redirects to the login page. This is problematic since authenticated users should be directed to the dashboard, not the login page.
How to Ensure that Clicks on Element in Nav Bar Correctly Redirect Authenticated Users to the Dashboard Page?
I’m experiencing an issue with my web application where clicking on an account icon behaves inconsistently. When I click near the edge of the account icon, it correctly redirects to the dashboard page. However, clicking in the middle of the icon redirects to the login page. This is problematic since authenticated users should be directed to the dashboard, not the login page.