1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
This commit is contained in:
Dan Finlay 2016-08-22 17:21:54 -07:00
parent f57cbe59fc
commit 17f3f90d80
4 changed files with 4 additions and 8 deletions

View File

@ -143,7 +143,7 @@ AccountDetailScreen.prototype.render = function () {
style: {
display: 'flex',
alignItems: 'center',
}
},
}, [
h('img.cursor-pointer.color-orange', {
src: 'images/key-32.png',

View File

@ -27,8 +27,7 @@ function ShiftListItem () {
ShiftListItem.prototype.render = function () {
var props = this.props
const { depositAddress, time, i, response } = props
const { transaction } = response
const { response } = props
return (
h('.transaction-list-item.flex-row', {
@ -117,7 +116,6 @@ ShiftListItem.prototype.renderUtilComponents = function () {
default:
return ''
}
}
ShiftListItem.prototype.renderInfo = function () {

View File

@ -19,7 +19,7 @@ function TransactionListItem () {
}
TransactionListItem.prototype.render = function () {
const { transaction, i, network } = this.props
const { transaction, network } = this.props
if (transaction.key === 'shapeshift') {
if (network === '1') return h(ShiftListItem, transaction)
}

View File

@ -2,7 +2,6 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const genAccountLink = require('../../lib/account-link')
const extension = require('../../../app/scripts/lib/extension')
const TransactionListItem = require('./transaction-list-item')
@ -22,7 +21,6 @@ TransactionList.prototype.render = function () {
}
const transactions = !shapeShiftTxList ? txsToRender.concat(unconfMsgs) : txsToRender.concat(unconfMsgs, shapeShiftTxList)
.sort((a, b) => b.time - a.time)
const accountLink = genAccountLink(address, network)
return (