Revize a5000e3c
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/pages/login/index.tsx | ||
---|---|---|
1 | 1 |
import 'antd/dist/antd.css'; |
2 |
import { Form, Input, Button } from 'antd';
|
|
3 |
import { UserOutlined, LockOutlined } from '@ant-design/icons';
|
|
2 |
import { Button, Form, Input } from 'antd';
|
|
3 |
import { LockOutlined, UserOutlined } from '@ant-design/icons';
|
|
4 | 4 |
import { LoggedUserContext } from '../../contexts/LoggedUserContext'; |
5 | 5 |
import { LoginLayout } from '../../layouts/LoginLayout'; |
6 | 6 |
import { useContext } from 'react'; |
... | ... | |
8 | 8 |
import { ShowToast } from '../../utils/alerts'; |
9 | 9 |
import { getTokenData } from '../../utils/login'; |
10 | 10 |
import { LoginResponse } from '../../api'; |
11 |
import env from '@beam-australia/react-env'; |
|
12 | 11 |
|
13 | 12 |
/** |
14 | 13 |
* Creates a login screen. |
Také k dispozici: Unified diff
Login screen