Problem
The auth modal in index.html contains two elements with the same id="auth-error".
Current Behavior
The login/signup modal renders duplicate error message elements, which creates invalid duplicate DOM IDs and can make error handling inconsistent.
Expected Behavior
There should be only one auth-error element in the auth modal, and the error message should display correctly without duplicate IDs.
Steps to Reproduce
- Open the StudyPlan app.
- Go to the auth modal.
- Inspect the modal structure.
- See that there are two
<p id="auth-error"> elements.
Screenshots
Environment
- Browser: Chrome
- Version: Any
Additional Context
This is a small UI/DOM cleanup issue. The proposed fix is to remove the duplicate auth-error paragraph from the auth modal and keep only one error element.
Problem
The auth modal in index.html contains two elements with the same
id="auth-error".Current Behavior
The login/signup modal renders duplicate error message elements, which creates invalid duplicate DOM IDs and can make error handling inconsistent.
Expected Behavior
There should be only one
auth-errorelement in the auth modal, and the error message should display correctly without duplicate IDs.Steps to Reproduce
<p id="auth-error">elements.Screenshots
Environment
Additional Context
This is a small UI/DOM cleanup issue. The proposed fix is to remove the duplicate
auth-errorparagraph from the auth modal and keep only one error element.