From 8c1633407dde167c79814bd2b96d3e8050201b83 Mon Sep 17 00:00:00 2001 From: Rodrigo Lino da Costa Date: Mon, 22 Apr 2024 10:58:49 -0300 Subject: [PATCH] prettier --- .../HTMLRenderers/MentionReportRenderer.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer.tsx b/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer.tsx index b36ee89acc02..345bd338f365 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer.tsx +++ b/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer.tsx @@ -64,10 +64,7 @@ function MentionReportRenderer({style, tnode, TDefaultRenderer, reports, ...defa const currentReport = getReport(currentReportID?.currentReportID); // When we invite someone to a room they don't have the policy object, but we still want them to be able to see and click on report mentions, so we only check if the policyID in the report is from a workspace - const isGroupPolicyReport = useMemo( - () => currentReport && !isEmptyObject(currentReport) && !!currentReport.policyID && currentReport.policyID !== CONST.POLICY.ID_FAKE, - [currentReport], - ); + const isGroupPolicyReport = useMemo(() => currentReport && !isEmptyObject(currentReport) && !!currentReport.policyID && currentReport.policyID !== CONST.POLICY.ID_FAKE, [currentReport]); const mentionDetails = getMentionDetails(htmlAttributeReportID, currentReport, reports, tnode); if (!mentionDetails) {