remove useEffect

pull/4645/head
Joseph Izang 8 months ago
parent 979c2433df
commit 9dfc2bd968
  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