Skip to content

Commit

Permalink
Fix wrong helper method used
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef-lr committed Mar 7, 2024
1 parent 9d9caf6 commit 3fcd191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ function getChildReportNotificationPreference(reportAction: OnyxEntry<ReportActi
* - report is a processing expense report and its policy has Instant reporting frequency
*/
function canAddOrDeleteTransactions(moneyRequestReport: OnyxEntry<Report>): boolean {
if (!isMoneyRequest(moneyRequestReport)) {
if (!isMoneyRequestReport(moneyRequestReport)) {
return false;
}

Expand Down

0 comments on commit 3fcd191

Please sign in to comment.