Browse Source

Fixed crash on login input change

Arnaud Vergnet 3 years ago
parent
commit
98168b560b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/screens/Amicale/LoginScreen.js

+ 1
- 0
src/screens/Amicale/LoginScreen.js View File

@@ -56,6 +56,7 @@ class LoginScreen extends React.Component<Props, State> {
56 56
 
57 57
     constructor(props) {
58 58
         super(props);
59
+        this.passwordInputRef = React.createRef();
59 60
         this.onEmailChange = this.onInputChange.bind(this, true);
60 61
         this.onPasswordChange = this.onInputChange.bind(this, false);
61 62
         this.props.navigation.addListener('focus', this.onScreenFocus);

Loading…
Cancel
Save