From 6e31836291d9d2fb00f96e122ba813272963afa0 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 13 Sep 2021 15:56:26 +0200 Subject: [PATCH] linting --- apps/remix-ide/src/app/tabs/compile-tab.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/compile-tab.js b/apps/remix-ide/src/app/tabs/compile-tab.js index 83ea8cd9fc..1051d24626 100644 --- a/apps/remix-ide/src/app/tabs/compile-tab.js +++ b/apps/remix-ide/src/app/tabs/compile-tab.js @@ -115,7 +115,7 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA async onActivation () { this.currentFile = await this.call('fileManager', 'file') - super.onActivation() + super.onActivation() this.call('filePanel', 'registerContextMenuItem', { id: 'solidity', name: 'compileFile', @@ -139,10 +139,9 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA } getAppParameter (name) { - let param // first look in the URL params then in the local storage const params = this.queryParams.get() - param = params[name] ? params[name] : this.config.get(name) + const param = params[name] ? params[name] : this.config.get(name) if (param === 'true') return true if (param === 'false') return false return param