diff --git a/src/components/Tool/FixPhoneNumbers/FixPhoneNumbers.tsx b/src/components/Tool/FixPhoneNumbers/FixPhoneNumbers.tsx index d544b36b0..fd3063d06 100644 --- a/src/components/Tool/FixPhoneNumbers/FixPhoneNumbers.tsx +++ b/src/components/Tool/FixPhoneNumbers/FixPhoneNumbers.tsx @@ -321,116 +321,111 @@ const FixPhoneNumbers: React.FC = ({ onSubmit={() => {}} validationSchema={fixPhoneNumberSchema} > - {({ errors, setValues, values }): ReactElement => { - return ( - <> - - - - {t('Fix Phone Numbers')} + {({ errors, setValues, values }): ReactElement => ( + <> + + + + {t('Fix Phone Numbers')} + + + + + + + {t('You have {{amount}} phone numbers to confirm.', { + amount: data.people.totalCount, + })} - - - - - - {t( - 'You have {{amount}} phone numbers to confirm.', - { - amount: data.people.totalCount, - }, - )} - + + {t( + 'Choose below which phone number will be set as primary.', + )} + + - {t( - 'Choose below which phone number will be set as primary.', - )} + {t('Default Primary Source:')} - - - {t('Default Primary Source:')} - - ) => + handleSourceChange(event) + } + size="small" + > + - - {appName} - - - {t('DataServer')} - - - - + {t('DataServer')} + + + - + + - - {values.people.map( - (person: PersonInvalidNumberFragment, i: number) => ( - - ), - )} - + + {values.people.map( + (person: PersonInvalidNumberFragment, i: number) => ( + + ), + )} + - - - - }} - /> - - - + + + + }} + /> + + - handleDelete(values, setValues)} - /> - - ); - }} + + handleDelete(values, setValues)} + /> + + )} ) : (