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/ImportScreen.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/ImportScreen.js')
-rw-r--r-- | src/containers/auth/ImportScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/ImportScreen.js b/src/containers/auth/ImportScreen.js index 46e2d41f0..c01c3d355 100644 --- a/src/containers/auth/ImportScreen.js +++ b/src/containers/auth/ImportScreen.js | |||
@@ -5,8 +5,6 @@ import { RouterStore } from 'mobx-react-router'; | |||
5 | import Import from '../../components/auth/Import'; | 5 | import Import from '../../components/auth/Import'; |
6 | import UserStore from '../../stores/UserStore'; | 6 | import UserStore from '../../stores/UserStore'; |
7 | 7 | ||
8 | @inject('stores', 'actions') | ||
9 | @observer | ||
10 | class ImportScreen extends Component { | 8 | class ImportScreen extends Component { |
11 | render() { | 9 | render() { |
12 | const { actions, stores } = this.props; | 10 | const { actions, stores } = this.props; |
@@ -26,7 +24,7 @@ class ImportScreen extends Component { | |||
26 | } | 24 | } |
27 | } | 25 | } |
28 | 26 | ||
29 | ImportScreen.wrappedComponent.propTypes = { | 27 | ImportScreen.propTypes = { |
30 | actions: PropTypes.shape({ | 28 | actions: PropTypes.shape({ |
31 | user: PropTypes.instanceOf(UserStore).isRequired, | 29 | user: PropTypes.instanceOf(UserStore).isRequired, |
32 | }).isRequired, | 30 | }).isRequired, |
@@ -36,4 +34,4 @@ ImportScreen.wrappedComponent.propTypes = { | |||
36 | }).isRequired, | 34 | }).isRequired, |
37 | }; | 35 | }; |
38 | 36 | ||
39 | export default ImportScreen; | 37 | export default inject('stores', 'actions')(observer(ImportScreen)); |