clean up commented out code

pull/4182/head
Joseph Izang 11 months ago
parent dfc4b003e6
commit 203fdd7b47
  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