diff options
author | 2021-08-21 20:12:28 +0530 | |
---|---|---|
committer | 2021-08-21 21:55:28 +0530 | |
commit | 4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d (patch) | |
tree | 9f8b016d71136e87bcf532f60ce4acfa03f6cedd /src/components/services/content/ServiceWebview.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/components/services/content/ServiceWebview.js')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index 3b499a5db..c0f48793a 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js | |||
@@ -24,7 +24,9 @@ class ServiceWebview extends Component { | |||
24 | super(props); | 24 | super(props); |
25 | 25 | ||
26 | reaction( | 26 | reaction( |
27 | () => this.webview, | 27 | () => ( |
28 | this.webview | ||
29 | ), | ||
28 | () => { | 30 | () => { |
29 | if (this.webview && this.webview.view) { | 31 | if (this.webview && this.webview.view) { |
30 | this.webview.view.addEventListener('console-message', (e) => { | 32 | this.webview.view.addEventListener('console-message', (e) => { |