aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send.selectors.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-02-05 22:12:06 +0800
committerGitHub <noreply@github.com>2019-02-05 22:12:06 +0800
commit697d5adfc857e6e1338167a14757b38eb4d3172c (patch)
treebd657661a3f107666f67c40b6b448b8210f8c7b7 /ui/app/components/send/send.selectors.js
parent7bbd6e70393027bbbeecccdef71eaf70aac52c45 (diff)
parentf3a7054f6b25a43b55bb6bda77b084171d611d12 (diff)
downloadtangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.gz
tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.tar.zst
tangerine-wallet-browser-697d5adfc857e6e1338167a14757b38eb4d3172c.zip
Merge pull request #6082 from whymarrh/migrate-to-new-ui
Migrate all users to the new UI
Diffstat (limited to 'ui/app/components/send/send.selectors.js')
-rw-r--r--ui/app/components/send/send.selectors.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/ui/app/components/send/send.selectors.js b/ui/app/components/send/send.selectors.js
index 140da2ce9..47a49500f 100644
--- a/ui/app/components/send/send.selectors.js
+++ b/ui/app/components/send/send.selectors.js
@@ -16,7 +16,6 @@ import {
const selectors = {
accountsWithSendEtherInfoSelector,
- // autoAddToBetaUI,
getAddressBook,
getAmountConversionRate,
getBlockGasLimit,
@@ -72,23 +71,6 @@ function accountsWithSendEtherInfoSelector (state) {
return accountsWithSendEtherInfo
}
-// function autoAddToBetaUI (state) {
-// const autoAddTransactionThreshold = 12
-// const autoAddAccountsThreshold = 2
-// const autoAddTokensThreshold = 1
-
-// const numberOfTransactions = state.metamask.selectedAddressTxList.length
-// const numberOfAccounts = Object.keys(getMetaMaskAccounts(state)).length
-// const numberOfTokensAdded = state.metamask.tokens.length
-
-// const userPassesThreshold = (numberOfTransactions > autoAddTransactionThreshold) &&
-// (numberOfAccounts > autoAddAccountsThreshold) &&
-// (numberOfTokensAdded > autoAddTokensThreshold)
-// const userIsNotInBeta = !state.metamask.featureFlags.betaUI
-
-// return userIsNotInBeta && userPassesThreshold
-// }
-
function getAddressBook (state) {
return state.metamask.addressBook
}