src/applications/personalization/profile/helpers.js
Function transformServiceHistoryEntryIntoTableRow
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const transformServiceHistoryEntryIntoTableRow = entry => {
const formattedBeginDate = entry.beginDate
? moment(entry.beginDate).format('LL')
: '';
const formattedEndDate = entry.endDate