From 0a3c04228f8d004039f163868b3a090f0802dcf7 Mon Sep 17 00:00:00 2001 From: Danut Gavrus Date: Wed, 23 Aug 2023 10:13:20 +0300 Subject: [PATCH] Run prettier. --- src/libs/SidebarUtils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libs/SidebarUtils.js b/src/libs/SidebarUtils.js index adce2e9c90b3..d59476929705 100644 --- a/src/libs/SidebarUtils.js +++ b/src/libs/SidebarUtils.js @@ -31,7 +31,10 @@ Onyx.connect({ // does not match a closed or created state. const reportActionsForDisplay = _.filter( actionsArray, - (reportAction, actionKey) => ReportActionsUtils.shouldReportActionBeVisible(reportAction, actionKey) && reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.CREATED && reportAction.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, + (reportAction, actionKey) => + ReportActionsUtils.shouldReportActionBeVisible(reportAction, actionKey) && + reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.CREATED && + reportAction.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, ); visibleReportActionItems[reportID] = _.last(reportActionsForDisplay); },