Skip to content

Commit

Permalink
Merge branch 'develop' into develop-Shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
lindapaiste authored Sep 22, 2023
2 parents cca74b4 + ca74574 commit 9701191
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions client/modules/User/components/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ function LoginForm() {
validate={validateLogin}
onSubmit={onSubmit}
>
{({
handleSubmit,
submitError,
pristine,
submitting,
modifiedSinceLastSubmit
}) => (
{({ handleSubmit, submitError, submitting, modifiedSinceLastSubmit }) => (
<form className="form" onSubmit={handleSubmit}>
<Field name="email">
{(field) => (
Expand Down Expand Up @@ -71,7 +65,7 @@ function LoginForm() {
{submitError && !modifiedSinceLastSubmit && (
<span className="form-error">{submitError}</span>
)}
<Button type="submit" disabled={submitting || pristine}>
<Button type="submit" disabled={submitting}>
{t('LoginForm.Submit')}
</Button>
</form>
Expand Down

0 comments on commit 9701191

Please sign in to comment.