From 427b885cc64702f305aaf83e3e1156c8ba264fd2 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 Sep 2021 09:52:15 +0200 Subject: [PATCH] remove unused code --- apps/solidity-compiler/src/app/compiler.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/solidity-compiler/src/app/compiler.ts b/apps/solidity-compiler/src/app/compiler.ts index 03d54f23f5..f003f33c76 100644 --- a/apps/solidity-compiler/src/app/compiler.ts +++ b/apps/solidity-compiler/src/app/compiler.ts @@ -31,12 +31,6 @@ const defaultCompilerParameters = { language: 'Solidity' } -const getOptimize = () => { - let value = localStorage.getItem('optimize') || defaultCompilerParameters['optimize'] - value = (value === 'false' || value === null || value === undefined) ? false : value - value = value === 'true' ? true : false -} - export class CompilerClientApi extends CompilerApiMixin(PluginClient) implements ICompilerApi { constructor () { super()