File tree Expand file tree Collapse file tree
src/pages/iou/request/step Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { InteractionManager } from 'react-native' ;
32import { useSearchContext } from '@components/Search/SearchContext' ;
43import type { ListItem } from '@components/SelectionList/types' ;
54import useOnyx from '@hooks/useOnyx' ;
@@ -43,14 +42,12 @@ function IOURequestEditReport({route}: IOURequestEditReportProps) {
4342 if ( ! transactionReport || selectedTransactionIDs . length === 0 ) {
4443 return ;
4544 }
46- Navigation . dismissModal ( ) ;
47- InteractionManager . runAfterInteractions ( ( ) => {
48- changeTransactionsReport ( selectedTransactionIDs , CONST . REPORT . UNREPORTED_REPORT_ID ) ;
49- } ) ;
45+ changeTransactionsReport ( selectedTransactionIDs , CONST . REPORT . UNREPORTED_REPORT_ID ) ;
5046 if ( shouldTurnOffSelectionMode ) {
5147 turnOffMobileSelectionMode ( ) ;
5248 }
5349 clearSelectedTransactions ( true ) ;
50+ Navigation . dismissModal ( ) ;
5451 } ;
5552
5653 return (
You can’t perform that action at this time.
0 commit comments