src/platform/user/profile/vap-svc/util/contact-information/phoneUtils.js
Function phoneUiSchema
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const phoneUiSchema = fieldName => {
return {
inputPhoneNumber: {
'ui:title': `${fieldName} (U.S. numbers only)`,
'ui:webComponentField': VaTextInputField,