login input fix
This commit is contained in:
@@ -14,13 +14,13 @@ function renderLogin({ submitLogin, submitRegister }) {
|
|||||||
className="login-input"
|
className="login-input"
|
||||||
type="email"
|
type="email"
|
||||||
placeholder="username"
|
placeholder="username"
|
||||||
onChange={e => (details.name = e.target.value)}
|
onInput={e => (details.name = e.target.value)}
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
className="login-input"
|
className="login-input"
|
||||||
type="password"
|
type="password"
|
||||||
placeholder="password"
|
placeholder="password"
|
||||||
onChange={e => (details.password = e.target.value)}
|
onInput={e => (details.password = e.target.value)}
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
className="login-btn"
|
className="login-btn"
|
||||||
|
|||||||
Reference in New Issue
Block a user