diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/components/settings/navigation/SettingsNavigation.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/components/settings/navigation/SettingsNavigation.js')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index dbb1365b0..2fdb6e574 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -42,8 +42,6 @@ const messages = defineMessages({ | |||
42 | }, | 42 | }, |
43 | }); | 43 | }); |
44 | 44 | ||
45 | @inject('stores', 'actions') | ||
46 | @observer | ||
47 | class SettingsNavigation extends Component { | 45 | class SettingsNavigation extends Component { |
48 | static propTypes = { | 46 | static propTypes = { |
49 | stores: PropTypes.shape({ | 47 | stores: PropTypes.shape({ |
@@ -175,4 +173,4 @@ class SettingsNavigation extends Component { | |||
175 | } | 173 | } |
176 | } | 174 | } |
177 | 175 | ||
178 | export default injectIntl(SettingsNavigation); | 176 | export default injectIntl(inject('stores', 'actions')(observer(SettingsNavigation))); |