mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed login dialog
This commit is contained in:
parent
840af25df4
commit
6587f65e9b
6 changed files with 16 additions and 14 deletions
|
@ -4,7 +4,7 @@ import { IDialogProps } from '~/redux/modal/constants';
|
|||
import { useCloseOnEscape } from '~/utils/hooks';
|
||||
import { Group } from '~/components/containers/Group';
|
||||
import { InputText } from '~/components/input/InputText';
|
||||
import { Button } from '../../../components/input/Button/index';
|
||||
import { Button } from '~/components/input/Button';
|
||||
import { Padder } from '~/components/containers/Padder';
|
||||
import * as styles from './styles.scss';
|
||||
type IProps = IDialogProps & {};
|
||||
|
@ -13,8 +13,6 @@ const LoginDialog: FC<IProps> = ({ onRequestClose }) => {
|
|||
const [username, setUserName] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
|
||||
const title = <div>title</div>;
|
||||
|
||||
const buttons = (
|
||||
<Padder>
|
||||
<Group horizontal>
|
||||
|
@ -26,7 +24,7 @@ const LoginDialog: FC<IProps> = ({ onRequestClose }) => {
|
|||
useCloseOnEscape(onRequestClose);
|
||||
|
||||
return (
|
||||
<ScrollDialog buttons={buttons} width={300}>
|
||||
<ScrollDialog buttons={buttons} width={260}>
|
||||
<Padder>
|
||||
<div className={styles.wrap}>
|
||||
<Group>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue