remove useEffect

pull/5370/head
Joseph Izang 8 months ago
parent 9576ded2e1
commit e583e02777
  1. 9
      apps/vyper/src/app/components/CompilerButton.tsx

@ -21,15 +21,6 @@ function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState, o
return <Button disabled className="w-100">Not a vyper contract</Button>
}
// useEffect(() => {
// const checkCompileOutput = () => {
// if (output && Object.keys(output).length > 0) {
// setLoadingSpinnerState(false)
// }
// }
// checkCompileOutput()
// }, [])
/** Compile a Contract */
return (

Loading…
Cancel
Save