Skip to content

Commit

Permalink
refactor: removing debugging entries
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-manole authored and kenodressel committed Feb 14, 2024
1 parent dcd8173 commit 474f4ad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions src/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
2 changes: 0 additions & 2 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 1 addition & 4 deletions src/store/modules/aeternity.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 474f4ad

Please sign in to comment.