diff options
Diffstat (limited to 'app/client')
| -rw-r--r-- | app/client/auth/login.component.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/client/auth/login.component.js b/app/client/auth/login.component.js index 58c3eaf..17c6d67 100644 --- a/app/client/auth/login.component.js +++ b/app/client/auth/login.component.js @@ -18,9 +18,7 @@ class Login extends Component { this.handleChange = this.handleChange.bind(this) this.handleSubmit = this.handleSubmit.bind(this) } - handleChange(e) { - const name = e.target.name - const value = e.target.value + handleChange(value, name) { this.setState({ [name]: value, error: null, |
