Skip to content

Commit

Permalink
revert timer
Browse files Browse the repository at this point in the history
  • Loading branch information
owencraston committed Aug 14, 2024
1 parent dfcd369 commit 110a229
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/store/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ export function addNewAccount(): ThunkAction<
> {
log.debug(`background.addNewAccount`);
return async (dispatch, getState) => {
console.time('actions/addNewAccount');
const oldAccounts = getInternalAccounts(getState()).filter(
(internalAccount) =>
internalAccount.metadata.keyring.type === KeyringTypes.hd,
Expand All @@ -472,7 +471,6 @@ export function addNewAccount(): ThunkAction<
}

await forceUpdateMetamaskState(dispatch);
console.timeEnd('actions/addNewAccount');
return addedAccountAddress;
};
}
Expand Down

0 comments on commit 110a229

Please sign in to comment.