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/ui/ServiceIcon.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/ui/ServiceIcon.js')
-rw-r--r-- | src/components/ui/ServiceIcon.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ui/ServiceIcon.js b/src/components/ui/ServiceIcon.js index f067f8955..d403d107d 100644 --- a/src/components/ui/ServiceIcon.js +++ b/src/components/ui/ServiceIcon.js | |||
@@ -24,8 +24,6 @@ const styles = theme => ({ | |||
24 | }, | 24 | }, |
25 | }); | 25 | }); |
26 | 26 | ||
27 | @injectSheet(styles) | ||
28 | @observer | ||
29 | class ServiceIcon extends Component { | 27 | class ServiceIcon extends Component { |
30 | static propTypes = { | 28 | static propTypes = { |
31 | classes: PropTypes.object.isRequired, | 29 | classes: PropTypes.object.isRequired, |
@@ -56,4 +54,6 @@ class ServiceIcon extends Component { | |||
56 | } | 54 | } |
57 | } | 55 | } |
58 | 56 | ||
59 | export default ServiceIcon; | 57 | export default injectSheet(styles, { injectTheme: true })( |
58 | observer(ServiceIcon), | ||
59 | ); | ||