aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/account-menu
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-11 13:35:37 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-11 13:35:37 +0800
commit5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07 (patch)
tree35e6a41dbbb9c68556a91cbbea5ef8e137daac0f /ui/app/components/account-menu
parent523cf9ad33d88719520ae5e7293329d133b64d4d (diff)
downloadtangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.tar
tangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.tar.gz
tangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.tar.bz2
tangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.tar.lz
tangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.tar.xz
tangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.tar.zst
tangerine-wallet-browser-5a2a34591f8ab2aec3a056d5bb9e38ba5236cd07.zip
clean up
Diffstat (limited to 'ui/app/components/account-menu')
-rw-r--r--ui/app/components/account-menu/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/account-menu/index.js b/ui/app/components/account-menu/index.js
index 73450c1bd..c15ecbc9c 100644
--- a/ui/app/components/account-menu/index.js
+++ b/ui/app/components/account-menu/index.js
@@ -69,7 +69,7 @@ function mapDispatchToProps (dispatch) {
dispatch(actions.toggleAccountMenu())
},
showRemoveAccountConfirmationModal: (address) => {
- return dispatch(actions.showModal({ name: 'CONFIRM_FORGET_ACCOUNT', address }))
+ return dispatch(actions.showModal({ name: 'CONFIRM_REMOVE_ACCOUNT', address }))
},
}
}
@@ -199,10 +199,10 @@ AccountMenu.prototype.renderAccounts = function () {
}
AccountMenu.prototype.renderRemoveAccount = function (keyring, address) {
- // Any account that's not form the HD wallet can be forgotten
+ // Any account that's not from the HD wallet Keyring can be removed
const type = keyring.type
const isRemovable = type !== 'HD Key Tree'
- return isRemovable ? h('a.forget-account-icon', { onClick: (e) => this.removeAccount(e, address) }, '') : null
+ return isRemovable ? h('a.remove-account-icon', { onClick: (e) => this.removeAccount(e, address) }, '') : null
}
AccountMenu.prototype.removeAccount = function (e, address) {