From 249aa0a32ef62ab43744cf0fa6dddc34bb718546 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 Sep 2021 11:24:23 +0200 Subject: [PATCH] fix saving compiler parameters --- apps/solidity-compiler/src/app/compiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/solidity-compiler/src/app/compiler.ts b/apps/solidity-compiler/src/app/compiler.ts index 6f499103b9..5a6e8eafaa 100644 --- a/apps/solidity-compiler/src/app/compiler.ts +++ b/apps/solidity-compiler/src/app/compiler.ts @@ -53,7 +53,7 @@ export class CompilerClientApi extends CompilerApiMixin(PluginClient) implements } setCompilerParameters (params) { - for (const key in Object.keys(params)) { + for (const key of Object.keys(params)) { localStorage.setItem(key, params[key]) } }