diff options
Diffstat (limited to 'src/components/auth/ChangeServer.tsx')
-rw-r--r-- | src/components/auth/ChangeServer.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/auth/ChangeServer.tsx b/src/components/auth/ChangeServer.tsx index d8509f599..c49e52673 100644 --- a/src/components/auth/ChangeServer.tsx +++ b/src/components/auth/ChangeServer.tsx | |||
@@ -4,7 +4,7 @@ import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | |||
4 | import { mdiArrowLeftCircle } from '@mdi/js'; | 4 | import { mdiArrowLeftCircle } from '@mdi/js'; |
5 | import { noop } from 'lodash'; | 5 | import { noop } from 'lodash'; |
6 | import Form from '../../lib/Form'; | 6 | import Form from '../../lib/Form'; |
7 | import Input from '../ui/Input'; | 7 | import Input from '../ui/input/index'; |
8 | import Select from '../ui/Select'; | 8 | import Select from '../ui/Select'; |
9 | import Button from '../ui/button'; | 9 | import Button from '../ui/button'; |
10 | import Link from '../ui/Link'; | 10 | import Link from '../ui/Link'; |
@@ -128,7 +128,10 @@ class ChangeServer extends Component<IProps> { | |||
128 | )} | 128 | )} |
129 | <Select field={form.$('server')} /> | 129 | <Select field={form.$('server')} /> |
130 | {!this.defaultServers.includes(form.$('server').value) && ( | 130 | {!this.defaultServers.includes(form.$('server').value) && ( |
131 | <Input placeholder="Custom Server" field={form.$('customServer')} /> | 131 | <Input |
132 | placeholder="Custom Server" | ||
133 | {...form.$('customServer').bind()} | ||
134 | /> | ||
132 | )} | 135 | )} |
133 | <Button | 136 | <Button |
134 | type="submit" | 137 | type="submit" |