login input fix
This commit is contained in:
@@ -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)}
|
||||
/>
|
||||
<input
|
||||
className="login-input"
|
||||
type="password"
|
||||
placeholder="password"
|
||||
onChange={e => (details.password = e.target.value)}
|
||||
onInput={e => (details.password = e.target.value)}
|
||||
/>
|
||||
<button
|
||||
className="login-btn"
|
||||
|
||||
Reference in New Issue
Block a user