fix saving compiler parameters

pull/1342/head
yann300 3 years ago committed by davidzagi93@gmail.com
parent 6921f7adde
commit 867458835f
  1. 2
      apps/solidity-compiler/src/app/compiler.ts

@ -53,7 +53,7 @@ export class CompilerClientApi extends CompilerApiMixin(PluginClient) implements
} }
setCompilerParameters (params) { setCompilerParameters (params) {
for (const key in Object.keys(params)) { for (const key of Object.keys(params)) {
localStorage.setItem(key, params[key]) localStorage.setItem(key, params[key])
} }
} }

Loading…
Cancel
Save