|
@@ -20,17 +20,19 @@ const Registration = ({onRegistration}) => {
|
|
|
value={login}
|
|
|
placeholder="Login"
|
|
|
ref={loginRef}
|
|
|
- onChange={(e) => setLogin(e.target.value)}></input>
|
|
|
+ onChange={(e) => setLogin(e.target.value)}/>
|
|
|
<input
|
|
|
value={password}
|
|
|
placeholder="Password"
|
|
|
ref={pasRef}
|
|
|
onChange={(e) => setPassword(e.target.value)}
|
|
|
type="password"
|
|
|
- ></input>
|
|
|
- <input placeholder="Confirm Password"></input>
|
|
|
+ />
|
|
|
+ <input placeholder="Confirm Password"/>
|
|
|
|
|
|
- <button onClick={() => onRegistration(login, password)}>Registration</button>
|
|
|
+ <button onClick={() => onRegistration(login, password)}>
|
|
|
+ <b>Registration</b>
|
|
|
+ </button>
|
|
|
|
|
|
<nav>
|
|
|
<NavLink to="/login">Login</NavLink>
|