diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/features/publishDebugInfo/Component.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/features/publishDebugInfo/Component.js')
-rw-r--r-- | src/features/publishDebugInfo/Component.js | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index 30bdc13b6..953fc7c21 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js | |||
@@ -85,14 +85,7 @@ const styles = theme => ({ | |||
85 | }, | 85 | }, |
86 | }); | 86 | }); |
87 | 87 | ||
88 | @injectSheet(styles) | ||
89 | @inject('stores', 'actions') | ||
90 | @observer | ||
91 | class PublishDebugLogModal extends Component { | 88 | class PublishDebugLogModal extends Component { |
92 | static propTypes = { | ||
93 | classes: PropTypes.object.isRequired, | ||
94 | }; | ||
95 | |||
96 | state = { | 89 | state = { |
97 | log: null, | 90 | log: null, |
98 | error: false, | 91 | error: false, |
@@ -221,13 +214,18 @@ class PublishDebugLogModal extends Component { | |||
221 | } | 214 | } |
222 | } | 215 | } |
223 | 216 | ||
224 | PublishDebugLogModal.wrappedComponent.propTypes = { | 217 | PublishDebugLogModal.propTypes = { |
225 | stores: PropTypes.shape({ | 218 | stores: PropTypes.shape({ |
226 | app: PropTypes.instanceOf(AppStore).isRequired, | 219 | app: PropTypes.instanceOf(AppStore).isRequired, |
227 | }).isRequired, | 220 | }).isRequired, |
228 | actions: PropTypes.shape({ | 221 | actions: PropTypes.shape({ |
229 | service: PropTypes.instanceOf(ServicesStore).isRequired, | 222 | service: PropTypes.instanceOf(ServicesStore).isRequired, |
230 | }).isRequired, | 223 | }).isRequired, |
224 | classes: PropTypes.object.isRequired, | ||
231 | }; | 225 | }; |
232 | 226 | ||
233 | export default injectIntl(PublishDebugLogModal); | 227 | export default injectIntl( |
228 | injectSheet(styles, { injectTheme: true })( | ||
229 | inject('stores', 'actions')(observer(PublishDebugLogModal)), | ||
230 | ), | ||
231 | ); | ||