diff options
Diffstat (limited to 'src/components/auth/ChangeServer.tsx')
-rw-r--r-- | src/components/auth/ChangeServer.tsx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/components/auth/ChangeServer.tsx b/src/components/auth/ChangeServer.tsx index c49e52673..665e8f6f9 100644 --- a/src/components/auth/ChangeServer.tsx +++ b/src/components/auth/ChangeServer.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'; |
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 { LIVE_FERDIUM_API, LIVE_FRANZ_API } from '../../config'; | ||
11 | import { url, required } from '../../helpers/validation-helpers'; | ||
12 | import globalMessages from '../../i18n/globalMessages'; | ||
6 | import Form from '../../lib/Form'; | 13 | import Form from '../../lib/Form'; |
7 | import Input from '../ui/input/index'; | 14 | import Infobox from '../ui/Infobox'; |
15 | import Link from '../ui/Link'; | ||
8 | import Select from '../ui/Select'; | 16 | import Select from '../ui/Select'; |
9 | import Button from '../ui/button'; | 17 | import Button from '../ui/button'; |
10 | import Link from '../ui/Link'; | ||
11 | import Infobox from '../ui/Infobox'; | ||
12 | import { url, required } from '../../helpers/validation-helpers'; | ||
13 | import { LIVE_FERDIUM_API, LIVE_FRANZ_API } from '../../config'; | ||
14 | import globalMessages from '../../i18n/globalMessages'; | ||
15 | import { H1 } from '../ui/headline'; | 18 | import { H1 } from '../ui/headline'; |
16 | import Icon from '../ui/icon'; | 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: { |