Format the errors for logging in
This commit is contained in:
parent
f97fc23a4c
commit
0643b4bb0e
|
|
@ -8,6 +8,8 @@ import {
|
|||
clearErrors
|
||||
} from '../api';
|
||||
|
||||
import '../../static/css/errormessages.css';
|
||||
|
||||
export function Login(props) {
|
||||
return (
|
||||
<Container className="py-5">
|
||||
|
|
@ -31,7 +33,7 @@ class LoginErrorList extends React.Component {
|
|||
const { error, errorMessages } = this.props;
|
||||
if(error) {
|
||||
return (
|
||||
<ul className='text-danger mt-3'>
|
||||
<ul className='mt-3 error-box'>
|
||||
{ errorMessages.map((message, index) =>
|
||||
<li key={index}>
|
||||
{message}
|
||||
|
|
|
|||
Loading…
Reference in New Issue