From 96217779f16fb5ca6983fa5336cd533fa9c719cb Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 8 Dec 2023 12:58:57 +0100 Subject: [PATCH] fix disabled buttons visuals --- apps/vyper/src/app/components/CompilerButton.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/vyper/src/app/components/CompilerButton.tsx b/apps/vyper/src/app/components/CompilerButton.tsx index 9d32799dad..6fa418ab62 100644 --- a/apps/vyper/src/app/components/CompilerButton.tsx +++ b/apps/vyper/src/app/components/CompilerButton.tsx @@ -14,11 +14,11 @@ interface Props { function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState}: Props) { const [loadingSpinner, setLoadingSpinnerState] = useState(false) if (!contract || !contract) { - return + return } if (!isVyper(contract)) { - return + return } /** Compile a Contract */ @@ -130,7 +130,7 @@ function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState}: return ( -