@@ -28,6 +28,7 @@ import * as ReportUtils from '@src/libs/ReportUtils';
28
28
import * as TransactionUtils from '@src/libs/TransactionUtils' ;
29
29
import { getTransactionID } from '@src/libs/TransactionUtils' ;
30
30
import ONYXKEYS from '@src/ONYXKEYS' ;
31
+ import ROUTES from '@src/ROUTES' ;
31
32
import type SCREENS from '@src/SCREENS' ;
32
33
import type { Transaction } from '@src/types/onyx' ;
33
34
import { isEmptyObject } from '@src/types/utils/EmptyObject' ;
@@ -66,7 +67,7 @@ function Confirmation() {
66
67
if ( ! reportAction ?. childReportID ) {
67
68
return ;
68
69
}
69
- Navigation . dismissModalWithReport ( { reportID : reportAction . childReportID } ) ;
70
+ Navigation . goBack ( ROUTES . REPORT_WITH_ID . getRoute ( reportAction . childReportID ) , { compareParams : false } ) ;
70
71
} , [ reportAction ?. childReportID , transactionsMergeParams , canUseTableReportView ] ) ;
71
72
72
73
const resolveDuplicates = useCallback ( ( ) => {
@@ -79,7 +80,7 @@ function Confirmation() {
79
80
Navigation . dismissModal ( ) ;
80
81
return ;
81
82
}
82
- Navigation . dismissModalWithReport ( { reportID : reportAction . childReportID } ) ;
83
+ Navigation . goBack ( ROUTES . REPORT_WITH_ID . getRoute ( reportAction . childReportID ) , { compareParams : false } ) ;
83
84
} , [ transactionsMergeParams , reportAction ?. childReportID , canUseTableReportView ] ) ;
84
85
85
86
const contextValue = useMemo (
0 commit comments