fix registration
This commit is contained in:
parent
ea1f566a1c
commit
cfc8273a90
@ -52,8 +52,8 @@ const Register = () => {
|
|||||||
{error && <p>{error}</p>}
|
{error && <p>{error}</p>}
|
||||||
|
|
||||||
<form className="registerForm">
|
<form className="registerForm">
|
||||||
<input autoComplete='off' placeholder='Username' required id='username' type='text' autoFocus />
|
<input ref={usernameRef} autoComplete='off' placeholder='Username' required id='username' type='text' autoFocus />
|
||||||
<input autoComplete='off' placeholder='Password' required id='password' type='password' />
|
<input ref={passwordRef} autoComplete='off' placeholder='Password' required id='password' type='password' />
|
||||||
<button className="button primary" onClick={submit}>Register</button>
|
<button className="button primary" onClick={submit}>Register</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user