diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/containers/auth/ChangeServerScreen.js | |
parent | 5.6.4-nightly.24 [skip ci] (diff) | |
download | ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip |
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/containers/auth/ChangeServerScreen.js')
-rw-r--r-- | src/containers/auth/ChangeServerScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/ChangeServerScreen.js b/src/containers/auth/ChangeServerScreen.js index dcc913c39..60bfde088 100644 --- a/src/containers/auth/ChangeServerScreen.js +++ b/src/containers/auth/ChangeServerScreen.js | |||
@@ -5,8 +5,6 @@ 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 | @inject('stores', 'actions') | ||
9 | @observer | ||
10 | class ChangeServerScreen extends Component { | 8 | class ChangeServerScreen extends Component { |
11 | constructor(props) { | 9 | constructor(props) { |
12 | super(props); | 10 | super(props); |
@@ -34,7 +32,7 @@ class ChangeServerScreen extends Component { | |||
34 | } | 32 | } |
35 | } | 33 | } |
36 | 34 | ||
37 | ChangeServerScreen.wrappedComponent.propTypes = { | 35 | ChangeServerScreen.propTypes = { |
38 | actions: PropTypes.shape({ | 36 | actions: PropTypes.shape({ |
39 | settings: PropTypes.instanceOf(SettingsStore).isRequired, | 37 | settings: PropTypes.instanceOf(SettingsStore).isRequired, |
40 | }).isRequired, | 38 | }).isRequired, |
@@ -44,4 +42,4 @@ ChangeServerScreen.wrappedComponent.propTypes = { | |||
44 | }).isRequired, | 42 | }).isRequired, |
45 | }; | 43 | }; |
46 | 44 | ||
47 | export default ChangeServerScreen; | 45 | export default inject('stores', 'actions')(observer(ChangeServerScreen)); |