diff --git a/src/Components/Steps/HouseholdMembers/HouseholdMemberForm.tsx b/src/Components/Steps/HouseholdMembers/HouseholdMemberForm.tsx index 0c0b5a47..03ae8412 100644 --- a/src/Components/Steps/HouseholdMembers/HouseholdMemberForm.tsx +++ b/src/Components/Steps/HouseholdMembers/HouseholdMemberForm.tsx @@ -25,7 +25,6 @@ import AddIcon from '@mui/icons-material/Add'; import { createMenuItems } from '../SelectHelperFunctions/SelectHelperFunctions'; import CloseButton from '../../CloseButton/CloseButton'; import { renderBirthMonthHelperText, renderBirthYearHelperText, renderHealthInsuranceHelperText, renderRelationshipToHHHelperText, renderIncomeFrequencyHelperText, renderHoursWorkedHelperText, renderIncomeAmountHelperText } from './HelperTextFunctions'; -import MultiSelectTiles from '../../OptionCardGroup/MultiSelectTiles'; import './PersonIncomeBlock.css'; const HouseholdMemberForm = () => { @@ -355,24 +354,18 @@ const HouseholdMemberForm = () => { }; const displayHealthInsuranceBlock = (pageNumber: number, healthInsuranceOptions: any) => { - const indexBasedHIOptions = pageNumber === 1 ? healthInsuranceOptions.you : healthInsuranceOptions.them; return ( {displayHealthCareQuestion(pageNumber)} - { - setValue('healthInsurance', values, { shouldValidate: true, shouldDirty: true }); - trigger('healthInsurance'); - }} - options={Object.entries(indexBasedHIOptions).map(([value, content]) => { - return { value: value, text: content.text, icon: content.icon }; - })} + - {errors.healthInsurance !== undefined && ( - {renderHealthInsuranceHelperText()} - )} + {errors.healthInsurance !== undefined && {renderHealthInsuranceHelperText()}} );