From ee5da4d6ecda699706bfb6328d71f13f5eb0c5b3 Mon Sep 17 00:00:00 2001 From: Mark_Jeong <81726531+markjung96@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:03:12 +0900 Subject: [PATCH] feat: remove console log --- src/App.tsx | 2 ++ src/components/contracts/contract-address.tsx | 3 --- src/const/endpoint.ts | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 9ef303a..804af0a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -23,6 +23,8 @@ export const App: React.FunctionComponent = () => { log.debug(`%cẅël̈l̈c̈öm̈ë-̈ẗö-̈ẅël̈l̈d̈ön̈ë-̈c̈öd̈ë!̈`, "color:yellow"); }, []); + console.info("version 0.2.3"); + return (
{global.client &&
} diff --git a/src/components/contracts/contract-address.tsx b/src/components/contracts/contract-address.tsx index 927a5b6..5d39ccf 100644 --- a/src/components/contracts/contract-address.tsx +++ b/src/components/contracts/contract-address.tsx @@ -41,8 +41,6 @@ export const ContractAddress = ({}: ContractAddressProps) => { }; const handleAtAddressOnClick = async () => { - console.log("client", client); - console.log("contractAddress", contractAddress); if (!client || !contractAddress) return; if (!isEthAddress(contractAddress)) { setErrorMsg("Invalid address. Please enter a valid Ethereum address."); @@ -54,7 +52,6 @@ export const ContractAddress = ({}: ContractAddressProps) => { method: "at_address", }); const addressFiltered = contractAddresses.concat(contractAddress); - console.log("addressFiltered", addressFiltered); setContractAddresses(addressFiltered); let targetAbi = abi.get(contractAddress); diff --git a/src/const/endpoint.ts b/src/const/endpoint.ts index 186bea6..e7e1c11 100644 --- a/src/const/endpoint.ts +++ b/src/const/endpoint.ts @@ -1,5 +1,4 @@ import { STAGE } from "./stage"; -console.log("STAGE", STAGE); const COMPILER_API_ENDPOINT_POOL = { local: "http://localhost:8000",