Skip to content

Commit c0842ab

Browse files
committed
fix ts error
1 parent 587ac29 commit c0842ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5825,7 +5825,7 @@ function getReportUrl(reportID: string) {
58255825
return `${environmentURL}/r/${reportID}`;
58265826
}
58275827

5828-
function getMovedTransactionMessage(action: ReportAction, parentReportAction: OnyxEntry<ReportAction>, report?: Report) {
5828+
function getMovedTransactionMessage(action: ReportAction, parentReportAction?: OnyxEntry<ReportAction>, report?: Report) {
58295829
const movedTransactionOriginalMessage = getOriginalMessage(action as ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.MOVED_TRANSACTION>) ?? {};
58305830
const {toReportID} = movedTransactionOriginalMessage as OriginalMessageMovedTransaction;
58315831
const reportName = getReportName(report, undefined, parentReportAction);

0 commit comments

Comments
 (0)