diff options
author | 2021-09-13 14:45:46 +0200 | |
---|---|---|
committer | 2021-09-13 14:45:46 +0200 | |
commit | 537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch) | |
tree | bc55447115e385137684e84697a8c15d2199b8d5 /src/containers/auth/ChangeServerScreen.js | |
parent | Bumped up version to: 5.6.3-nightly.0 [skip ci] (diff) | |
download | ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.gz ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.zst ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.zip |
chore: upgrade intl dependencies (#1920)
Diffstat (limited to 'src/containers/auth/ChangeServerScreen.js')
-rw-r--r-- | src/containers/auth/ChangeServerScreen.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/containers/auth/ChangeServerScreen.js b/src/containers/auth/ChangeServerScreen.js index 28ecc0198..94fc98b61 100644 --- a/src/containers/auth/ChangeServerScreen.js +++ b/src/containers/auth/ChangeServerScreen.js | |||
@@ -5,7 +5,9 @@ import { RouterStore } from 'mobx-react-router'; | |||
5 | import ChangeServer from '../../components/auth/ChangeServer'; | 5 | import ChangeServer from '../../components/auth/ChangeServer'; |
6 | import SettingsStore from '../../stores/SettingsStore'; | 6 | import SettingsStore from '../../stores/SettingsStore'; |
7 | 7 | ||
8 | export default @inject('stores', 'actions') @observer class ChangeServerScreen extends Component { | 8 | @inject('stores', 'actions') |
9 | @observer | ||
10 | class ChangeServerScreen extends Component { | ||
9 | constructor(props) { | 11 | constructor(props) { |
10 | super(props); | 12 | super(props); |
11 | 13 | ||
@@ -28,12 +30,7 @@ export default @inject('stores', 'actions') @observer class ChangeServerScreen e | |||
28 | const { stores } = this.props; | 30 | const { stores } = this.props; |
29 | const { server } = stores.settings.all.app; | 31 | const { server } = stores.settings.all.app; |
30 | 32 | ||
31 | return ( | 33 | return <ChangeServer onSubmit={this.onSubmit} server={server} />; |
32 | <ChangeServer | ||
33 | onSubmit={this.onSubmit} | ||
34 | server={server} | ||
35 | /> | ||
36 | ); | ||
37 | } | 34 | } |
38 | } | 35 | } |
39 | 36 | ||