clean up commented out code

pull/5370/head
Joseph Izang 12 months ago
parent bbe86750a7
commit 3a5cf2678b
  1. 5
      apps/vyper/src/app/components/CompilerButton.tsx

@ -69,10 +69,8 @@ function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState}:
ir: '', ir: '',
methodIdentifiers: methodIdentifiers methodIdentifiers: methodIdentifiers
} }
console.log(result)
return result return result
} }
// setOutput(_contract.name, compileReturnType())
// ERROR // ERROR
if (isCompilationError(output)) { if (isCompilationError(output)) {
@ -118,10 +116,7 @@ function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState}:
}) })
const data = toStandardOutput(_contract.name, output) const data = toStandardOutput(_contract.name, output)
remixClient.compilationFinish(_contract.name, _contract.content, data) remixClient.compilationFinish(_contract.name, _contract.content, data)
// console.log(data)
setOutput(_contract.name, compileReturnType()) setOutput(_contract.name, compileReturnType())
// setLoadingSpinnerState(false)
// remixClient.call('compilationDetails' as any, 'showDetails', data)
} catch (err: any) { } catch (err: any) {
remixClient.changeStatus({ remixClient.changeStatus({
key: 'failed', key: 'failed',

Loading…
Cancel
Save