Skip to content

Commit a00a9cc

Browse files
committed
Update MoneyRequestView.tsx
1 parent aeff354 commit a00a9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ReportActionItem/MoneyRequestView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
469469
return;
470470
}
471471
}
472-
Transaction.clearError(transaction?.transactionID ?? linkedTransactionID, {});
472+
Transaction.revert(transaction?.transactionID ?? linkedTransactionID, Transaction.getLastModifiedExpense(report?.reportID));
473473
ReportActions.clearAllRelatedReportActionErrors(report?.reportID ?? '-1', parentReportAction);
474474
}}
475475
>

0 commit comments

Comments
 (0)