Skip to content

Commit

Permalink
remove console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dkent600 committed Aug 12, 2020
1 parent 8041240 commit 79b60fa
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/actions/profilesActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,9 @@ async function get3Box(accountAddress: Address, dispatch: any, state: any, withS
box = state.profiles.threeBox;
} else {
const web3Provider = getWeb3Provider();

console.log("Box.create...");
console.time("Box.create");
box = await Box.create(web3Provider);
console.timeEnd("Box.create");
//box = await Box.openBox(accountAddress, web3Provider);

console.log(`accountAddress for auth: ${accountAddress}`);

console.log("box.auth...");
console.time("box.auth");
await box.auth([spaceName], { address: accountAddress });
console.timeEnd("box.auth");

console.log("box.syncDone...");
console.time("box.syncDone");
await box.syncDone;
console.timeEnd("box.syncDone");
updateState = true;
}
/**
Expand All @@ -86,15 +71,8 @@ async function get3Box(accountAddress: Address, dispatch: any, state: any, withS
/**
* It is assumed here that the 3box admin space has already been created
*/
console.log("box.openSpace");
console.time("box.openSpace");
space = await box.openSpace(spaceName);
console.timeEnd("box.openSpace");

console.log("space.syncDone");
console.time("space.syncDone");
await space.syncDone;
console.timeEnd("space.syncDone");
updateState = true;
}
}
Expand Down

0 comments on commit 79b60fa

Please sign in to comment.