Skip to content

Commit

Permalink
Merge pull request #362 from EscolaLMS/hotfix/login-problem
Browse files Browse the repository at this point in the history
login problem
  • Loading branch information
victazzz authored Nov 14, 2024
2 parents 2ca10ed + 565e445 commit 1bdea18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/organisms/LoginForm/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const LoginForm: React.FC<Props> = ({
})
.catch((err: ResponseError<DefaultResponseError>) => {
setErrors({ error: err?.data?.message, ...err.data.errors });
onError?.(err.data);
onError?.(err?.data);
})
.finally(() => setSubmitting(false));
}}
Expand Down

0 comments on commit 1bdea18

Please sign in to comment.