src/applications/personalization/dashboard/mocks/appeals/index.js
Function createAppealsSuccess
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const createAppealsSuccess = (updatedDaysAgo = 10) => {
const daysAgo = addDays(new Date(), -updatedDaysAgo);
const formattedDaysAgo = format(daysAgo, 'yyyy-MM-dd');
return {