Skip to content

Commit

Permalink
fix: resolved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kubabutkiewicz committed Oct 17, 2023
1 parent 934a95e commit 60d97bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/ReportActionsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ReportAction>): boolean {
const message = reportAction?.message?.[0];
Expand All @@ -551,7 +550,7 @@ function isReportActionAttachment(reportAction: OnyxEntry<ReportAction>): boolea
}

if (message) {
return isReportMessageAttachment(message) ?? false;
return isReportMessageAttachment(message);
}

return false;
Expand Down

0 comments on commit 60d97bb

Please sign in to comment.