Format the errors for logging in

This commit is contained in:
Jonny 2019-04-17 16:32:49 +02:00
parent f97fc23a4c
commit 0643b4bb0e
1 changed files with 3 additions and 1 deletions

View File

@ -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}