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 ( -