From c49c00f6ffff7068221851357cc4acaa45f7eceb Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Sat, 11 Nov 2023 13:20:36 +0100 Subject: [PATCH] cleanup console logs --- apps/vyper/src/app/components/CompilerButton.tsx | 2 -- apps/vyper/src/app/utils/compiler.tsx | 14 ++++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/vyper/src/app/components/CompilerButton.tsx b/apps/vyper/src/app/components/CompilerButton.tsx index 057323882f..b85a356337 100644 --- a/apps/vyper/src/app/components/CompilerButton.tsx +++ b/apps/vyper/src/app/components/CompilerButton.tsx @@ -36,9 +36,7 @@ function CompilerButton({contract, setOutput, compilerUrl, setCompilerResponse}: }) let output try { - console.log('calling comile endpoint now') output = await compile(compilerUrl, _contract) - console.log('output from compile endpoint', {output}) } catch (e: any) { setOutput(_contract.name, {status: 'failed', message: e.message}) return diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index 8b7c39bc73..e131b52e27 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -51,7 +51,6 @@ export function normalizeContractPath(contractPath: string): string[] { * @param contract The name and content of the contract */ export async function compile(url: string, contract: Contract): Promise { - console.log('responding to call to comile') if (!contract.name) { throw new Error('Set your Vyper contract file.') } @@ -87,7 +86,6 @@ export async function compile(url: string, contract: Contract): Promise