mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Remove fake transactions and balances from tx-list and wallet-view, respectively
This commit is contained in:
parent
5893f2fd19
commit
9dce1b6fd5
@ -52,44 +52,6 @@ TxList.prototype.render = function () {
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
this.renderTransactionListItem(),
|
||||
|
||||
contentDivider,
|
||||
|
||||
])
|
||||
}
|
||||
|
||||
|
@ -43,15 +43,6 @@ WalletView.prototype.render = function () {
|
||||
// temporary logs + fake extra wallets
|
||||
console.log("walletview, selectedAccount:", selectedAccount)
|
||||
|
||||
const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [
|
||||
h('div.wallet-balance', {}, [
|
||||
h(BalanceComponent, {
|
||||
balanceValue: selectedAccount.balance,
|
||||
style: {},
|
||||
}),
|
||||
]),
|
||||
])
|
||||
|
||||
return h('div.wallet-view.flex-column' + (responsiveDisplayClassname || ''), {
|
||||
style: {},
|
||||
}, [
|
||||
@ -148,28 +139,15 @@ WalletView.prototype.render = function () {
|
||||
|
||||
]),
|
||||
|
||||
h('div.flex-column.wallet-balance-wrapper', {}, [
|
||||
|
||||
h('div.wallet-balance', {}, [
|
||||
|
||||
h(BalanceComponent, {
|
||||
balanceValue: selectedAccount.balance,
|
||||
style: {},
|
||||
}),
|
||||
|
||||
]),
|
||||
|
||||
]),
|
||||
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
extraWallet,
|
||||
])
|
||||
}
|
||||
|
||||
// TODO: Extra wallets, for dev testing. Remove when PRing to master.
|
||||
// const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [
|
||||
// h('div.wallet-balance', {}, [
|
||||
// h(BalanceComponent, {
|
||||
// balanceValue: selectedAccount.balance,
|
||||
// style: {},
|
||||
// }),
|
||||
// ]),
|
||||
// ])
|
||||
|
Loading…
Reference in New Issue
Block a user