File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
- import React , { useEffect , useMemo } from 'react' ;
1
+ import React , { useMemo } from 'react' ;
2
2
import type { GestureResponderEvent , StyleProp , ViewStyle } from 'react-native' ;
3
3
import type { OnyxEntry } from 'react-native-onyx' ;
4
4
import { withOnyx } from 'react-native-onyx' ;
@@ -8,7 +8,6 @@ import * as ReportUtils from '@libs/ReportUtils';
8
8
import playSound , { SOUNDS } from '@libs/Sound' ;
9
9
import * as BankAccounts from '@userActions/BankAccounts' ;
10
10
import * as IOU from '@userActions/IOU' ;
11
- import * as PaymentMethods from '@userActions/PaymentMethods' ;
12
11
import CONST from '@src/CONST' ;
13
12
import ONYXKEYS from '@src/ONYXKEYS' ;
14
13
import type { Route } from '@src/ROUTES' ;
@@ -144,10 +143,6 @@ function SettlementButton({
144
143
const { translate} = useLocalize ( ) ;
145
144
const { isOffline} = useNetwork ( ) ;
146
145
147
- useEffect ( ( ) => {
148
- PaymentMethods . openWalletPage ( ) ;
149
- } , [ ] ) ;
150
-
151
146
const session = useSession ( ) ;
152
147
const chatReport = ReportUtils . getReport ( chatReportID ) ;
153
148
const isInvoiceReport = ( ! isEmptyObject ( iouReport ) && ReportUtils . isInvoiceReport ( iouReport ) ) || false ;
You can’t perform that action at this time.
0 commit comments