Skip to content

fix: remove duplicate error message display on Signup page#1639

Open
muhamedfazalps wants to merge 2 commits into
aryandas2911:mainfrom
muhamedfazalps:fix-duplicate-error-message
Open

fix: remove duplicate error message display on Signup page#1639
muhamedfazalps wants to merge 2 commits into
aryandas2911:mainfrom
muhamedfazalps:fix-duplicate-error-message

Conversation

@muhamedfazalps

Copy link
Copy Markdown

Fixes #1638

The error message was displayed 4 times because:

  1. FormError component rendered the error text twice inside itself
  2. Signup.jsx rendered TWO FormError components with the same error

Fixed by:

  1. Removing duplicate error text in FormError.jsx
  2. Removing duplicate FormError component in Signup.jsx

If this helps, consider buying me a coffee: https://buymeacoffee.com/muhamedfazalps

The FormError component was rendering the error message twice:
once with font-medium and once with font-medium leading-relaxed.
Removed the duplicate.

Fixes aryandas2911#1638
Two FormError components were rendered with the same error message,
causing the error to appear 4 times (2 in FormError x 2 FormError components).

Fixes aryandas2911#1638
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Duplicate email error message displayed 4 times on Signup page

1 participant