Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinan029 committed Mar 8, 2024
1 parent b43fa36 commit 62910da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 62910da

Please sign in to comment.