1
0
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:
sdtsui 2017-08-22 15:24:48 -07:00
parent 5893f2fd19
commit 9dce1b6fd5
2 changed files with 10 additions and 70 deletions

View File

@ -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,
])
}

View File

@ -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: {},
// }),
// ]),
// ])