diff options
author | Vijay A <avijayr@protonmail.com> | 2021-08-21 20:12:28 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-08-21 21:55:28 +0530 |
commit | 4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d (patch) | |
tree | 9f8b016d71136e87bcf532f60ce4acfa03f6cedd /src/features/quickSwitch/Component.js | |
parent | Incorrect position while adding a new service when there were pre-existing se... (diff) | |
download | ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.gz ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.zst ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.zip |
style: consistent syntax style [skip ci]
Diffstat (limited to 'src/features/quickSwitch/Component.js')
-rw-r--r-- | src/features/quickSwitch/Component.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/features/quickSwitch/Component.js b/src/features/quickSwitch/Component.js index 812f2c04b..78d5d94a0 100644 --- a/src/features/quickSwitch/Component.js +++ b/src/features/quickSwitch/Component.js | |||
@@ -118,8 +118,12 @@ export default @injectSheet(styles) @inject('stores', 'actions') @observer class | |||
118 | this.openService = this.openService.bind(this); | 118 | this.openService = this.openService.bind(this); |
119 | 119 | ||
120 | reaction( | 120 | reaction( |
121 | () => ModalState.isModalVisible, | 121 | () => ( |
122 | this._handleVisibilityChange, | 122 | ModalState.isModalVisible |
123 | ), | ||
124 | () => { | ||
125 | this._handleVisibilityChange(); | ||
126 | }, | ||
123 | ); | 127 | ); |
124 | } | 128 | } |
125 | 129 | ||