Skip to content

Commit

Permalink
refactor: removed unused console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabadesso committed Feb 20, 2025
1 parent bebc7f3 commit 5f9897e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/sagas/reown.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ export function* processRequest(action) {
}
} break;
case SendTransactionError: {
console.log(e);
yield put(setSendTxStatusFailure());
yield put(showGlobalModal(MODAL_TYPES.TRANSACTION_FEEDBACK, { isLoading: false, isError: true }));

Expand Down Expand Up @@ -439,7 +438,6 @@ export function* processRequest(action) {

const promptHandler = (dispatch) => (request, requestMetadata) =>
new Promise(async (resolve, reject) => {
console.log(request.type, TriggerTypes);
switch (request.type) {
case TriggerTypes.ConnectConfirmationPrompt: {
const connectResponseTemplate = (accepted) => () => {
Expand Down Expand Up @@ -772,8 +770,6 @@ export function* onSendTransactionRequest({ payload }) {
const { accept, deny: denyCb, data, dapp } = payload;
const wallet = getGlobalWallet();

console.log('DATA: ', data);

if (!wallet.isReady()) {
log.error('Got a session request but wallet is not ready.');
return;
Expand Down
8 changes: 0 additions & 8 deletions src/sagas/tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,7 @@ export function* getTokenDetails(wallet, uid) {
export function* requestUnregisteredTokensDownload({ payload }) {
const { uids } = payload;

console.log('Will register tokens with uids', uids);

if (uids.length === 0) {
console.log('No uids to request token details.');
yield put(unregisteredTokensDownloadEnd());
return;
}
Expand All @@ -434,9 +431,7 @@ export function* requestUnregisteredTokensDownload({ payload }) {
const uidGroups = splitInGroups(uids, perBurst);

for (const group of uidGroups) {
console.log('Group: ', group);
const tasks = yield all(group.map((uid) => fork(getTokenDetails, wallet, uid)));
console.log('Tasks: ', tasks);
yield join(tasks);

if (uidGroups.length === 1 || group === uidGroups[uidGroups.length - 1]) {
Expand All @@ -445,9 +440,6 @@ export function* requestUnregisteredTokensDownload({ payload }) {
yield delay(burstDelay * 1000);
}

console.log('out of the group')

console.log('Success getting tokens data to feed unregisteredTokens.');
yield put(unregisteredTokensDownloadEnd());
}

Expand Down

0 comments on commit 5f9897e

Please sign in to comment.