diff options
Diffstat (limited to 'src/components/auth/Login.tsx')
-rw-r--r-- | src/components/auth/Login.tsx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/components/auth/Login.tsx b/src/components/auth/Login.tsx index 9bad731c8..37ce595eb 100644 --- a/src/components/auth/Login.tsx +++ b/src/components/auth/Login.tsx | |||
@@ -1,19 +1,23 @@ | |||
1 | import { Component, FormEvent, ReactElement } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
4 | import { mdiArrowLeftCircle } from '@mdi/js'; | 1 | import { mdiArrowLeftCircle } from '@mdi/js'; |
5 | import { noop } from 'lodash'; | 2 | import { noop } from 'lodash'; |
6 | import Icon from '../ui/icon'; | 3 | import { observer } from 'mobx-react'; |
4 | import { Component, type FormEvent, type ReactElement } from 'react'; | ||
5 | import { | ||
6 | type WrappedComponentProps, | ||
7 | defineMessages, | ||
8 | injectIntl, | ||
9 | } from 'react-intl'; | ||
10 | import type { GlobalError } from '../../@types/ferdium-components.types'; | ||
11 | import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app | ||
7 | import { LIVE_FRANZ_API } from '../../config'; | 12 | import { LIVE_FRANZ_API } from '../../config'; |
8 | import { API_VERSION } from '../../environment-remote'; | 13 | import { API_VERSION } from '../../environment-remote'; |
9 | import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app | 14 | import { email, required } from '../../helpers/validation-helpers'; |
10 | import Form from '../../lib/Form'; | 15 | import Form from '../../lib/Form'; |
11 | import { required, email } from '../../helpers/validation-helpers'; | ||
12 | import Input from '../ui/input/index'; | ||
13 | import Button from '../ui/button'; | ||
14 | import Link from '../ui/Link'; | 16 | import Link from '../ui/Link'; |
17 | import Button from '../ui/button'; | ||
15 | import { H1 } from '../ui/headline'; | 18 | import { H1 } from '../ui/headline'; |
16 | import { GlobalError } from '../../@types/ferdium-components.types'; | 19 | import Icon from '../ui/icon'; |
20 | import Input from '../ui/input/index'; | ||
17 | 21 | ||
18 | const messages = defineMessages({ | 22 | const messages = defineMessages({ |
19 | headline: { | 23 | headline: { |