mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
PendingTxDetails - partially remove imagify support
This commit is contained in:
parent
c477411ce0
commit
f7794d9949
@ -1,7 +1,6 @@
|
||||
const Component = require('react').Component
|
||||
const h = require('react-hyperscript')
|
||||
const inherits = require('util').inherits
|
||||
const carratInline = require('fs').readFileSync('./images/forward-carrat.svg', 'utf8')
|
||||
|
||||
const MiniAccountPanel = require('./mini-account-panel')
|
||||
const EthBalance = require('./eth-balance')
|
||||
@ -78,7 +77,7 @@ PTXP.render = function () {
|
||||
|
||||
]),
|
||||
|
||||
forwardCarrat(imageify),
|
||||
forwardCarrat(),
|
||||
|
||||
this.miniAccountPanelForRecipient(),
|
||||
]),
|
||||
@ -223,8 +222,7 @@ PTXP.warnIfNeeded = function () {
|
||||
}
|
||||
|
||||
|
||||
function forwardCarrat (imageify) {
|
||||
if (imageify) {
|
||||
function forwardCarrat () {
|
||||
return (
|
||||
|
||||
h('img', {
|
||||
@ -236,17 +234,4 @@ function forwardCarrat (imageify) {
|
||||
})
|
||||
|
||||
)
|
||||
} else {
|
||||
return (
|
||||
|
||||
h('div', {
|
||||
dangerouslySetInnerHTML: { __html: carratInline },
|
||||
style: {
|
||||
padding: '0px 6px 0px 10px',
|
||||
height: '45px',
|
||||
},
|
||||
})
|
||||
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user