1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

started creating login register dialog

This commit is contained in:
Fedor Katurov 2020-08-20 10:30:48 +07:00
parent ff8ecba6db
commit 70e08b286d
7 changed files with 42 additions and 10 deletions

View file

@ -17,6 +17,7 @@ import { ISocialProvider } from '~/redux/auth/types';
import pick from 'ramda/es/pick';
import { LoginDialogButtons } from '~/containers/dialogs/LoginDialogButtons';
import { IOAuthEvent, OAUTH_EVENT_TYPES } from '~/redux/types';
import { DialogTitle } from '~/components/dialogs/DialogTitle';
const mapStateToProps = state => ({
...pick(['error', 'is_registering'], selectAuthLogin(state)),
@ -103,7 +104,7 @@ const LoginDialogUnconnected: FC<IProps> = ({
<Padder>
<div className={styles.wrap}>
<Group>
<h2>РЕШИТЕЛЬНО ВОЙТИ</h2>
<DialogTitle>Решительно войти</DialogTitle>
<InputText title="Логин" handler={setUserName} value={username} autoFocus />