Skip to content

bug: Duplicate auth error element in the login modal #1004

@SanjanaSidhwani

Description

@SanjanaSidhwani

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

  1. Open the StudyPlan app.
  2. Go to the auth modal.
  3. Inspect the modal structure.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions