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/util/ErrorBoundary/index.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/util/ErrorBoundary/index.js')
-rw-r--r-- | src/components/util/ErrorBoundary/index.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/util/ErrorBoundary/index.js b/src/components/util/ErrorBoundary/index.js index cddcd91c2..6a8b126f1 100644 --- a/src/components/util/ErrorBoundary/index.js +++ b/src/components/util/ErrorBoundary/index.js | |||
@@ -18,7 +18,6 @@ const messages = defineMessages({ | |||
18 | }, | 18 | }, |
19 | }); | 19 | }); |
20 | 20 | ||
21 | @injectSheet(styles) | ||
22 | class ErrorBoundary extends Component { | 21 | class ErrorBoundary extends Component { |
23 | state = { | 22 | state = { |
24 | hasError: false, | 23 | hasError: false, |
@@ -56,4 +55,6 @@ class ErrorBoundary extends Component { | |||
56 | } | 55 | } |
57 | } | 56 | } |
58 | 57 | ||
59 | export default injectIntl(ErrorBoundary); | 58 | export default injectIntl( |
59 | injectSheet(styles, { injectTheme: true })(ErrorBoundary), | ||
60 | ); | ||