Skip to content

Commit

Permalink
runfix: remove extra error message icon (WPB-3157) (#4391)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisamir98 authored Aug 29, 2023
1 parent c25bb75 commit 1d51fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/page/PasswordForgot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const PasswordForgot = () => {
<H1>{t('title')}</H1>
<Form onSubmit={initiatePasswordReset}>
<Input
required
ref={emailInput}
markInvalid={!isEmailValid}
autoFocus
Expand All @@ -108,9 +109,8 @@ const PasswordForgot = () => {
label={t('emailPlaceholder')}
name="email"
type="email"
required
data-uie-name="enter-email"
error={<ErrorMessage>{error}</ErrorMessage>}
error={error && <ErrorMessage>{error}</ErrorMessage>}
/>
<Button
type="submit"
Expand Down

0 comments on commit 1d51fbd

Please sign in to comment.