care_fe
care_fe copied to clipboard
Code Quality Improvement: Utilise the `humanizeStrings` utility method to format array of strings
Currently in the codebase to format array of strings for being human readable, we perform array.join(", ") instead of performing join with , and and for last element.
15efeab (#8126) introduces a reusable utility method to humanize array of strings correctly.
Action Items
- [ ] Update the codebase to replace the usages of
array.join(", ")with usinghumanizeStrings(array)
The below image shows where all such usages are present