From a77d0812d52d52d80bc750832b4e0fe065ce4cac Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 17 Sep 2018 01:01:02 +0200 Subject: login works\! --- public/bundle.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'public/bundle.js') diff --git a/public/bundle.js b/public/bundle.js index ba9e322..c6fe46a 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -2350,11 +2350,9 @@ var Login = function (_Component) { _createClass(Login, [{ key: 'handleChange', - value: function handleChange(e) { + value: function handleChange(value, name) { var _setState; - var name = e.target.name; - var value = e.target.value; this.setState((_setState = {}, _defineProperty(_setState, name, value), _defineProperty(_setState, 'error', null), _setState)); } }, { -- cgit v1.2.3-70-g09d2