Skip to content

Commit 6db55b6

Browse files
committed
lint
1 parent 9356a5a commit 6db55b6

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

frontend/src/components/intake/personal-info-form.tsx

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ export function PersonalInfoForm({ formType, onSubmit }: PersonalInfoFormProps)
7878

7979
// Validate all eligibility criteria are checked (only for volunteers)
8080
if (formType === 'volunteer') {
81-
const allChecked = Object.values(data.eligibilityCriteria).every((checked) => checked === true);
81+
const allChecked = Object.values(data.eligibilityCriteria).every(
82+
(checked) => checked === true,
83+
);
8284
if (!allChecked) {
8385
return; // Form validation will show errors
8486
}
@@ -371,16 +373,19 @@ export function PersonalInfoForm({ formType, onSubmit }: PersonalInfoFormProps)
371373
fontSize="15px"
372374
mb={6}
373375
>
374-
Our volunteers are a valuable part of our organization and vital to this program. Before continuing, please ensure you meet the criteria below. </Text>
375-
<Text
376-
fontFamily="system-ui, -apple-system, sans-serif"
377-
fontSize="14px"
378-
color={COLORS.veniceBlue}
379-
mb={3}
380-
fontWeight={600}
381-
>
382-
Please review the criteria and check off all that apply. You must agree with all statements to become a First Connections volunteer.
383-
</Text>
376+
Our volunteers are a valuable part of our organization and vital to this program. Before
377+
continuing, please ensure you meet the criteria below.{' '}
378+
</Text>
379+
<Text
380+
fontFamily="system-ui, -apple-system, sans-serif"
381+
fontSize="14px"
382+
color={COLORS.veniceBlue}
383+
mb={3}
384+
fontWeight={600}
385+
>
386+
Please review the criteria and check off all that apply. You must agree with all
387+
statements to become a First Connections volunteer.
388+
</Text>
384389
<Controller
385390
name="eligibilityCriteria"
386391
control={control}
@@ -512,7 +517,10 @@ export function PersonalInfoForm({ formType, onSubmit }: PersonalInfoFormProps)
512517
<Checkbox
513518
checked={field.value.comfortableSharingExperience}
514519
onCheckedChange={(details) =>
515-
field.onChange({ ...field.value, comfortableSharingExperience: details.checked })
520+
field.onChange({
521+
...field.value,
522+
comfortableSharingExperience: details.checked,
523+
})
516524
}
517525
>
518526
<Text

0 commit comments

Comments
 (0)