From 4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 21 Aug 2021 20:12:28 +0530 Subject: style: consistent syntax style [skip ci] --- src/features/quickSwitch/Component.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/features/quickSwitch') 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 this.openService = this.openService.bind(this); reaction( - () => ModalState.isModalVisible, - this._handleVisibilityChange, + () => ( + ModalState.isModalVisible + ), + () => { + this._handleVisibilityChange(); + }, ); } -- cgit v1.2.3-70-g09d2