const ErrorSummary = ({ hasErrors, errorItems }) => { return hasErrors ? (

The following fields have a problem :

) : ( "" ); }; export default ErrorSummary;