Skip to content

Commit

Permalink
ajout message.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
morgan committed Jan 22, 2024
1 parent e35aa4c commit dcc304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/anonymous/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function Login() {
<div>
<div>
{(error && !error?.resetPasswordCnil && !error?.openPopinVerifyCode) &&
<span style={{ color: 'red' }}>{error.error ?? 'Une erreur s\'est produite'}</span>}
<span style={{ color: 'red' }}>{error.error?.message?.toString() ?? 'Une erreur s\'est produite'}</span>}
{deleteError && <span style={{ color: 'red' }}>{'Une erreur est survenue : ' + deleteError}</span>}
</div>

Expand Down

0 comments on commit dcc304b

Please sign in to comment.