Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rayane-djouah committed Mar 15, 2024
1 parent ed9eb23 commit cc750d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5318,10 +5318,10 @@ function shouldCreateNewMoneyRequestReport(existingIOUReport: OnyxEntry<Report>
* Checks if report contains actions with errors
*/

function hasActionsWithErrors(reportID: string) : boolean{
function hasActionsWithErrors(reportID: string): boolean {
const reportActions = ReportActionsUtils.getAllReportActions(reportID ?? '');
return !!Object.values(reportActions ?? {}).find((action) => !isEmptyObject(action.errors));
};
}

export {
getReportParticipantsTitle,
Expand Down

0 comments on commit cc750d6

Please sign in to comment.