From 5e2425a83c87250dda57fb5a9da1791c49feb1d4 Mon Sep 17 00:00:00 2001 From: ntr Date: Thu, 30 May 2019 21:20:39 +1000 Subject: [PATCH] login input fix --- client/src/components/login.component.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/login.component.jsx b/client/src/components/login.component.jsx index 2e8ba903..43c7671f 100644 --- a/client/src/components/login.component.jsx +++ b/client/src/components/login.component.jsx @@ -14,13 +14,13 @@ function renderLogin({ submitLogin, submitRegister }) { className="login-input" type="email" placeholder="username" - onChange={e => (details.name = e.target.value)} + onInput={e => (details.name = e.target.value)} /> (details.password = e.target.value)} + onInput={e => (details.password = e.target.value)} />