diff --git a/frontend/src/Components/Form/FormInputGroup.tsx b/frontend/src/Components/Form/FormInputGroup.tsx index c23b895c63..d1fbe04588 100644 --- a/frontend/src/Components/Form/FormInputGroup.tsx +++ b/frontend/src/Components/Form/FormInputGroup.tsx @@ -254,14 +254,7 @@ function FormInputGroup(props: FormInputGroupProps) { {helpLink ? {translate('MoreInfo')} : null} {errors.map((error, index) => { - return 'message' in error ? ( - - ) : ( + return 'errorMessage' in error ? ( (props: FormInputGroupProps) { isError={true} isCheckInput={checkInput} /> + ) : ( + ); })} {warnings.map((warning, index) => { - return 'message' in warning ? ( + return 'errorMessage' in warning ? ( ) : (