From 9dfc2bd9685607311a9c43339a9fa3a70de78619 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 (