|
@@ -5,6 +5,7 @@ import ExistingLoginError from "../../Components/RegistrationError/ExistingLogin
|
|
|
import ConfirmPasswordError from "../../Components/RegistrationError/ConfirmPasswordError";
|
|
|
import {connect} from "react-redux";
|
|
|
import {actionRegistrations} from "../../Actions/action_registration";
|
|
|
+import Button from "../../Components/Button/Button";
|
|
|
|
|
|
const Registration = ({onRegistration}) => {
|
|
|
|
|
@@ -54,12 +55,16 @@ const Registration = ({onRegistration}) => {
|
|
|
setShow(true)
|
|
|
}
|
|
|
}}
|
|
|
- // disabled={!isRegistrationValid()}
|
|
|
- className={isRegistrationValid() ? 'button-hover': ''}
|
|
|
+ className={isRegistrationValid() ? 'button-active': 'button-disabled'}
|
|
|
>
|
|
|
<b>Registration</b>
|
|
|
</button>
|
|
|
|
|
|
+ {/*<Button*/}
|
|
|
+ {/* name='Registration'*/}
|
|
|
+ {/* isValid={isRegistrationValid}*/}
|
|
|
+ {/*/>*/}
|
|
|
+
|
|
|
<nav className='registration-wrapper__link'>
|
|
|
<NavLink to="/login">Login</NavLink>
|
|
|
</nav>
|