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) {