diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-12-04 10:51:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 10:51:16 +0100 |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/containers/settings/AccountScreen.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/settings/AccountScreen.js')
-rw-r--r-- | src/containers/settings/AccountScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/settings/AccountScreen.js b/src/containers/settings/AccountScreen.js index f7c9b8164..aae230577 100644 --- a/src/containers/settings/AccountScreen.js +++ b/src/containers/settings/AccountScreen.js | |||
@@ -12,8 +12,6 @@ import ErrorBoundary from '../../components/util/ErrorBoundary'; | |||
12 | import { LIVE_FRANZ_API } from '../../config'; | 12 | import { LIVE_FRANZ_API } from '../../config'; |
13 | import { WEBSITE } from '../../environment-remote'; | 13 | import { WEBSITE } from '../../environment-remote'; |
14 | 14 | ||
15 | @inject('stores', 'actions') | ||
16 | @observer | ||
17 | class AccountScreen extends Component { | 15 | class AccountScreen extends Component { |
18 | onCloseWindow() { | 16 | onCloseWindow() { |
19 | const { user, features } = this.props.stores; | 17 | const { user, features } = this.props.stores; |
@@ -74,7 +72,7 @@ class AccountScreen extends Component { | |||
74 | } | 72 | } |
75 | } | 73 | } |
76 | 74 | ||
77 | AccountScreen.wrappedComponent.propTypes = { | 75 | AccountScreen.propTypes = { |
78 | stores: PropTypes.shape({ | 76 | stores: PropTypes.shape({ |
79 | user: PropTypes.instanceOf(UserStore).isRequired, | 77 | user: PropTypes.instanceOf(UserStore).isRequired, |
80 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | 78 | features: PropTypes.instanceOf(FeaturesStore).isRequired, |
@@ -87,4 +85,4 @@ AccountScreen.wrappedComponent.propTypes = { | |||
87 | }).isRequired, | 85 | }).isRequired, |
88 | }; | 86 | }; |
89 | 87 | ||
90 | export default AccountScreen; | 88 | export default inject('stores', 'actions')(observer(AccountScreen)); |