src/applications/vaos/referral-appointments/utils/provider.js
Function createProviderDetails
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const createProviderDetails = numberOfSlots => {
const slots = [];
const tomorrow = dateFns.addDays(dateFns.startOfDay(new Date()), 1);
let hourFromNow = 12;
for (let i = 0; i < numberOfSlots; i++) {