aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-01-30 21:58:20 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-02-05 20:19:55 +0800
commitc18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9 (patch)
treeade8c3d90cea3b9c6012a1c2a72ce8aab04ffd27 /ui/app
parent8a8696f8974a196e12e378cd4bf479a14fb531b9 (diff)
downloadtangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.tar
tangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.tar.gz
tangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.tar.bz2
tangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.tar.lz
tangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.tar.xz
tangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.tar.zst
tangerine-wallet-browser-c18b6f4117d7c3ccc36fde3c2792f7eb9641dfd9.zip
Remove commented references to Beta UI
Diffstat (limited to 'ui/app')
-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
}