import { useHistory } from 'react-router' import { T9n } from 'features/T9n' import { Checkbox } from 'features/Common/Checkbox' import { ArrowLoader } from 'features/ArrowLoader' import { RegisterPopup } from 'features/AuthServiceApp/components/RegisterPopup' import { client } from 'features/AuthServiceApp/config/clients' import { LanguageSelect } from '../LanguageSelect' import { PasswordInput } from '../PasswordInput' import { Input } from '../Input' import { Logo } from '../Logo' import { useRegistrationForm } from './hooks' import { BlockTitle, CenterBlock, InputGroup, ButtonsBlock, Form, ButtonSolid, Error, LanguageSelectWrapper, Wrapper, } from '../../styled' import { Label, Link, ButtonOutline, CheckboxWrapper, } from './styled' import { CompanyInfo } from '../../../CompanyInfo' const Registration = () => { const history = useHistory() const { authError, cookiesAccepted, email, formError, handleModalClose, handleSubmit, isFetching, isModalOpen, isSubmitDisabled, onCookiesChange, onEmailBlur, onEmailChange, onPasswordBlur, onPasswordChange, onTermsChange, password, termsAccepted, } = useRegistrationForm() return (
{formError ? : }   )} /> )} /> { isFetching ? : }
) } export default Registration