From 2aa4ea271e9edbbb9c06a06a324eef9b61235ec6 Mon Sep 17 00:00:00 2001 From: dafuga Date: Mon, 20 Jan 2025 15:29:03 -0800 Subject: [PATCH] style: linted --- src/lib/lookup.ts | 2 -- src/routes/lookup/[publicKey]/+server.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/lib/lookup.ts b/src/lib/lookup.ts index 2aac098..9b433ae 100644 --- a/src/lib/lookup.ts +++ b/src/lib/lookup.ts @@ -12,7 +12,6 @@ export const networkRequest = ( return new Promise((resolve, reject) => { const client = apiClient || new APIClient(chain) - console.log({client}) const timeoutId = setTimeout(() => { reject(new Error('Request timed out.')) }, 1000) @@ -42,7 +41,6 @@ export const lookupNetwork = async (publicKey: PublicKey, chain: Chain, apiClien const accounts = await networkRequest(publicKey, chain, apiClient) return {chain, accounts} } catch (error) { - console.log({error}) logger.warn(`Lookup error on ${chain.name}: ${error}`) return {chain, accounts: [], error: `Lookup error: ${error}`} } diff --git a/src/routes/lookup/[publicKey]/+server.ts b/src/routes/lookup/[publicKey]/+server.ts index 1614b71..d522492 100644 --- a/src/routes/lookup/[publicKey]/+server.ts +++ b/src/routes/lookup/[publicKey]/+server.ts @@ -19,8 +19,6 @@ export const GET = async ({params, url, fetch}: RequestEvent) => { ? [...MAINNET_CHAINS, ...TESTNET_CHAINS] : MAINNET_CHAINS - console.log({fetch}) - const lookups = ( await Promise.all( chains.map((chain) =>