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

Loading…
Cancel
Save