From 8789e03f6fcab4338b94ada4b36898ab34e6086d Mon Sep 17 00:00:00 2001 From: Daniel Gale-Rosen Date: Wed, 31 May 2023 11:07:56 -0400 Subject: [PATCH] prettier --- src/pages/home/report/ReportActionItem.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index e2be97a7de0a..c6eb8f9240f7 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -132,8 +132,9 @@ function ReportActionItem(props) { // Right now we are only sending the latest moderationDecision to the frontend even though it is an array let decisions = props.action.message[0].moderationDecisions; if (decisions.length > 1) { - decisions = decisions.slice(-1) - }const latestDecision = decisions[0]; + decisions = decisions.slice(-1); + } + const latestDecision = decisions[0]; if (latestDecision.decision === CONST.MODERATION.MODERATOR_DECISION_PENDING_HIDE || latestDecision.decision === CONST.MODERATION.MODERATOR_DECISION_HIDDEN) { setIsHidden(true); }