aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-09-14 01:18:57 +0800
committerkumavis <aaron@kumavis.me>2016-09-14 01:18:57 +0800
commitf7794d9949a0470ccb6c872925ca0b575806b507 (patch)
tree9a262ee49f4e73caa29993817dd75f00fda079d5 /ui
parentc477411ce0d868023df1b2a3a41900f7a8c20d70 (diff)
downloadtangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.tar
tangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.tar.gz
tangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.tar.bz2
tangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.tar.lz
tangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.tar.xz
tangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.tar.zst
tangerine-wallet-browser-f7794d9949a0470ccb6c872925ca0b575806b507.zip
PendingTxDetails - partially remove imagify support
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx-details.js37
1 files changed, 11 insertions, 26 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js
index c2e39a1ca..148b5c6df 100644
--- a/ui/app/components/pending-tx-details.js
+++ b/ui/app/components/pending-tx-details.js
@@ -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,30 +222,16 @@ PTXP.warnIfNeeded = function () {
}
-function forwardCarrat (imageify) {
- if (imageify) {
- return (
-
- h('img', {
- src: 'images/forward-carrat.svg',
- style: {
- padding: '5px 6px 0px 10px',
- height: '37px',
- },
- })
-
- )
- } else {
- return (
+function forwardCarrat () {
+ return (
- h('div', {
- dangerouslySetInnerHTML: { __html: carratInline },
- style: {
- padding: '0px 6px 0px 10px',
- height: '45px',
- },
- })
+ h('img', {
+ src: 'images/forward-carrat.svg',
+ style: {
+ padding: '5px 6px 0px 10px',
+ height: '37px',
+ },
+ })
- )
- }
+ )
}