From 60d97bb6794e49ee7c2f955005546d696d31fcbf Mon Sep 17 00:00:00 2001 From: Jakub Butkiewicz Date: Tue, 17 Oct 2023 09:18:09 +0200 Subject: [PATCH] fix: resolved comments --- src/libs/ReportActionsUtils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index 280c01d27491..9d7c87d1ec9d 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -541,7 +541,6 @@ function getAllReportActions(reportID: string): ReportActions { /** * Check whether a report action is an attachment (a file, such as an image or a zip). * - * @param reportAction report action */ function isReportActionAttachment(reportAction: OnyxEntry): boolean { const message = reportAction?.message?.[0]; @@ -551,7 +550,7 @@ function isReportActionAttachment(reportAction: OnyxEntry): boolea } if (message) { - return isReportMessageAttachment(message) ?? false; + return isReportMessageAttachment(message); } return false;