From 474f4ad08ff3928f696dea2c7957c0dc64f63962 Mon Sep 17 00:00:00 2001 From: Bogdan Manole Date: Thu, 4 Jan 2024 20:06:39 +0200 Subject: [PATCH] refactor: removing debugging entries --- src/lib/utils.js | 2 -- src/store/index.js | 2 -- src/store/modules/aeternity.js | 5 +---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/lib/utils.js b/src/lib/utils.js index 18c2621b..eec1b248 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -69,8 +69,6 @@ export const createDeepLinkUrl = ({ type, callbackUrl, ...params }) => { Object.entries(params) .filter(([, value]) => ![undefined, null].includes(value)) .forEach(([name, value]) => url.searchParams.set(name, value)); - console.log('params', params); - console.log('url', url); return url; }; diff --git a/src/store/index.js b/src/store/index.js index 5bc5d5e5..ce9f6159 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -272,8 +272,6 @@ export default createStore({ if (index !== -1 && transactions[index].pending && transactions[index].unfinished) { const { txHash: hash } = await sdk.api.postTransaction({ tx: transaction }); - console.log('HASH', hash); - debugger; commit('changeTransactionById', { index, transaction: { unfinished: false, hash } }); } } catch (e) { diff --git a/src/store/modules/aeternity.js b/src/store/modules/aeternity.js index 5550975c..460be4ec 100644 --- a/src/store/modules/aeternity.js +++ b/src/store/modules/aeternity.js @@ -60,10 +60,7 @@ const genRouterWaeMethodAction = (method, argsMapper, isWae = false) => async ( commit('addTransaction', { txParams: result.tx, info: transactionInfo, pending: true, unfinished: true, }, { root: true }); - const ret = await dispatch('sendTxDeepLinkUrl', builded, { root: true }); - console.log(ret); - console.log('href', ret.href); - window.location = ret; + window.location = await dispatch('sendTxDeepLinkUrl', builded, { root: true }); return result; }; const withFetchingPairInfo = (work) => async (context, args) => {