From 62910da7708aa124f1a355c9435944484fb47b41 Mon Sep 17 00:00:00 2001 From: katrinan029 Date: Fri, 8 Mar 2024 00:09:53 +0000 Subject: [PATCH] fix: lint error --- .../learner-credit-management/MultipleBudgetsPicker.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/learner-credit-management/MultipleBudgetsPicker.jsx b/src/components/learner-credit-management/MultipleBudgetsPicker.jsx index 3444e63196..0af1fe06a5 100644 --- a/src/components/learner-credit-management/MultipleBudgetsPicker.jsx +++ b/src/components/learner-credit-management/MultipleBudgetsPicker.jsx @@ -40,13 +40,13 @@ const MultipleBudgetsPicker = ({ [orderedBudgets, enterpriseUUID, enterpriseSlug, enableLearnerPortal], ); - const budgetLabels = orderedBudgets.map(budget => { - return getBudgetStatus({ + const budgetLabels = orderedBudgets.map(budget => ( + getBudgetStatus({ startDateStr: budget.start, endDateStr: budget.end, isBudgetRetired: budget.isRetired, }) - }); + )); const budgetLabelsByStatus = groupBy(budgetLabels, 'status'); const reducedChoices = Object.keys(budgetLabelsByStatus).map(budgetLabel => ({ name: budgetLabel,