aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/quickSwitch
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-12-04 10:51:16 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-04 10:51:16 +0100
commit11c992b04f3cad6badf0ae86da65f490e31dd359 (patch)
tree749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/features/quickSwitch
parent5.6.4-nightly.24 [skip ci] (diff)
downloadferdium-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/quickSwitch')
-rw-r--r--src/features/quickSwitch/Component.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/features/quickSwitch/Component.js b/src/features/quickSwitch/Component.js
index 75587cc1d..7f9424b6d 100644
--- a/src/features/quickSwitch/Component.js
+++ b/src/features/quickSwitch/Component.js
@@ -81,9 +81,6 @@ const styles = theme => ({
81 }, 81 },
82}); 82});
83 83
84@injectSheet(styles)
85@inject('stores', 'actions')
86@observer
87class QuickSwitchModal extends Component { 84class QuickSwitchModal extends Component {
88 static propTypes = { 85 static propTypes = {
89 classes: PropTypes.object.isRequired, 86 classes: PropTypes.object.isRequired,
@@ -349,13 +346,18 @@ class QuickSwitchModal extends Component {
349 } 346 }
350} 347}
351 348
352QuickSwitchModal.wrappedComponent.propTypes = { 349QuickSwitchModal.propTypes = {
353 stores: PropTypes.shape({ 350 stores: PropTypes.shape({
354 services: PropTypes.instanceOf(ServicesStore).isRequired, 351 services: PropTypes.instanceOf(ServicesStore).isRequired,
355 }).isRequired, 352 }).isRequired,
356 actions: PropTypes.shape({ 353 actions: PropTypes.shape({
357 service: PropTypes.instanceOf(ServicesStore).isRequired, 354 service: PropTypes.instanceOf(ServicesStore).isRequired,
358 }).isRequired, 355 }).isRequired,
356 classes: PropTypes.object.isRequired,
359}; 357};
360 358
361export default injectIntl(QuickSwitchModal); 359export default injectIntl(
360 injectSheet(styles, { injectTheme: true })(
361 inject('stores', 'actions')(observer(QuickSwitchModal)),
362 ),
363);