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
 
56
 
57
     constructor(props) {
57
     constructor(props) {
58
         super(props);
58
         super(props);
59
+        this.passwordInputRef = React.createRef();
59
         this.onEmailChange = this.onInputChange.bind(this, true);
60
         this.onEmailChange = this.onInputChange.bind(this, true);
60
         this.onPasswordChange = this.onInputChange.bind(this, false);
61
         this.onPasswordChange = this.onInputChange.bind(this, false);
61
         this.props.navigation.addListener('focus', this.onScreenFocus);
62
         this.props.navigation.addListener('focus', this.onScreenFocus);

Loading…
Cancel
Save