Skip to content

Commit

Permalink
test bad commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Aug 31, 2023
1 parent c861168 commit cfeb5fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const SingleRateCert = ({
const rateCertNumber = index + 1
const { errors, setFieldValue } = useFormikContext<RateInfoArrayType>()

const carry = true;
const showFieldErrors = (
fieldName: keyof RateCertFormType
): string | undefined => {
Expand All @@ -153,11 +154,12 @@ export const SingleRateCert = ({
}
className={styles.rateCertContainer}
>
!
<FormGroup error={Boolean(showFieldErrors('rateDocuments'))}>
<FileUpload
id={`${fieldNamePrefix}.rateDocuments`}
name={`${fieldNamePrefix}.rateDocuments`}
label="Upload rate certification"
label="Upload one rate certification document"
renderMode="list"
aria-required
error={showFieldErrors('rateDocuments')}
Expand Down

0 comments on commit cfeb5fc

Please sign in to comment.