File tree 1 file changed +1
-8
lines changed
src/pages/settings/Payments
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ class AddPayPalMePage extends React.Component {
41
41
payPalMeUsernameError : false ,
42
42
} ;
43
43
this . setPayPalMeUsername = this . setPayPalMeUsername . bind ( this ) ;
44
- this . paypalUsernameInputRef = null ;
45
44
}
46
45
47
46
componentDidMount ( ) {
@@ -73,12 +72,7 @@ class AddPayPalMePage extends React.Component {
73
72
74
73
render ( ) {
75
74
return (
76
- < ScreenWrapper onTransitionEnd = { ( ) => {
77
- if ( this . paypalUsernameInputRef ) {
78
- this . paypalUsernameInputRef . focus ( ) ;
79
- }
80
- } }
81
- >
75
+ < ScreenWrapper >
82
76
< KeyboardAvoidingView >
83
77
< HeaderWithCloseButton
84
78
title = "PayPal.me"
@@ -93,7 +87,6 @@ class AddPayPalMePage extends React.Component {
93
87
</ Text >
94
88
< ExpensiTextInput
95
89
label = { this . props . translate ( 'addPayPalMePage.payPalMe' ) }
96
- ref = { el => this . paypalUsernameInputRef = el }
97
90
autoCompleteType = "off"
98
91
autoCorrect = { false }
99
92
value = { this . state . payPalMeUsername }
You can’t perform that action at this time.
0 commit comments