From e583e02777f99f92402061691bd89a012d8722c6 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 21 Mar 2024 10:09:06 +0100 Subject: [PATCH] remove useEffect --- apps/vyper/src/app/components/CompilerButton.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/vyper/src/app/components/CompilerButton.tsx b/apps/vyper/src/app/components/CompilerButton.tsx index 2253d0d2bd..f60745300e 100644 --- a/apps/vyper/src/app/components/CompilerButton.tsx +++ b/apps/vyper/src/app/components/CompilerButton.tsx @@ -21,15 +21,6 @@ function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState, o return } - // useEffect(() => { - // const checkCompileOutput = () => { - // if (output && Object.keys(output).length > 0) { - // setLoadingSpinnerState(false) - // } - // } - // checkCompileOutput() - // }, []) - /** Compile a Contract */ return (