Skip to content

Commit

Permalink
login problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemek committed Nov 14, 2024
1 parent 2ca10ed commit 565e445
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 565e445

Please sign in to comment.