mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove commented references to Beta UI
This commit is contained in:
parent
8a8696f897
commit
c18b6f4117
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user