|
|
|
@ -4,6 +4,7 @@ const h = require('react-hyperscript') |
|
|
|
|
const connect = require('react-redux').connect |
|
|
|
|
const actions = require('./actions') |
|
|
|
|
const NetworkIndicator = require('./components/network') |
|
|
|
|
const LoadingIndicator = require('./components/loading') |
|
|
|
|
const txHelper = require('../lib/tx-helper') |
|
|
|
|
const isPopupOrNotification = require('../../app/scripts/lib/is-popup-or-notification') |
|
|
|
|
|
|
|
|
@ -60,6 +61,11 @@ ConfirmTxScreen.prototype.render = function () { |
|
|
|
|
|
|
|
|
|
h('.flex-column.flex-grow', [ |
|
|
|
|
|
|
|
|
|
h(LoadingIndicator, { |
|
|
|
|
isLoading: txData.loadingDefaults, |
|
|
|
|
loadingMessage: 'Estimating transaction cost…', |
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
// subtitle and nav
|
|
|
|
|
h('.section-title.flex-row.flex-center', [ |
|
|
|
|
!isNotification ? h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { |
|
|
|
|