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/settings/EditSettingsScreen.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/EditSettingsScreen.js')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index 720f2c8a1..ddf6876b9 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -245,8 +245,6 @@ const messages = defineMessages({ | |||
245 | }, | 245 | }, |
246 | }); | 246 | }); |
247 | 247 | ||
248 | @inject('stores', 'actions') | ||
249 | @observer | ||
250 | class EditSettingsScreen extends Component { | 248 | class EditSettingsScreen extends Component { |
251 | constructor(props) { | 249 | constructor(props) { |
252 | super(props); | 250 | super(props); |
@@ -753,7 +751,7 @@ class EditSettingsScreen extends Component { | |||
753 | } | 751 | } |
754 | } | 752 | } |
755 | 753 | ||
756 | EditSettingsScreen.wrappedComponent.propTypes = { | 754 | EditSettingsScreen.propTypes = { |
757 | stores: PropTypes.shape({ | 755 | stores: PropTypes.shape({ |
758 | app: PropTypes.instanceOf(AppStore).isRequired, | 756 | app: PropTypes.instanceOf(AppStore).isRequired, |
759 | user: PropTypes.instanceOf(UserStore).isRequired, | 757 | user: PropTypes.instanceOf(UserStore).isRequired, |
@@ -771,4 +769,6 @@ EditSettingsScreen.wrappedComponent.propTypes = { | |||
771 | }).isRequired, | 769 | }).isRequired, |
772 | }; | 770 | }; |
773 | 771 | ||
774 | export default injectIntl(EditSettingsScreen); | 772 | export default injectIntl( |
773 | inject('stores', 'actions')(observer(EditSettingsScreen)), | ||
774 | ); | ||