aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx/confirm-deploy-contract.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-03-21 08:15:59 +0800
committerGitHub <noreply@github.com>2018-03-21 08:15:59 +0800
commite005e9ac51e247620544f9c9871ff7ebd2bf80f6 (patch)
tree4fcfece5ff9e10c171dffdd0b0226820c74250f5 /ui/app/components/pending-tx/confirm-deploy-contract.js
parentcbaa70751b7ce20be04de4a9def2cbf8831274c5 (diff)
parent3c1248c8169a1cb96a0ee2bc0f523fb9c765569e (diff)
downloadtangerine-wallet-browser-e005e9ac51e247620544f9c9871ff7ebd2bf80f6.tar.gz
tangerine-wallet-browser-e005e9ac51e247620544f9c9871ff7ebd2bf80f6.tar.zst
tangerine-wallet-browser-e005e9ac51e247620544f9c9871ff7ebd2bf80f6.zip
Merge pull request #3624 from alextsg/cb-941
Update confirm transaction screen
Diffstat (limited to 'ui/app/components/pending-tx/confirm-deploy-contract.js')
-rw-r--r--ui/app/components/pending-tx/confirm-deploy-contract.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/ui/app/components/pending-tx/confirm-deploy-contract.js b/ui/app/components/pending-tx/confirm-deploy-contract.js
index 4810bb515..b75f3a964 100644
--- a/ui/app/components/pending-tx/confirm-deploy-contract.js
+++ b/ui/app/components/pending-tx/confirm-deploy-contract.js
@@ -10,6 +10,7 @@ const hexToBn = require('../../../../app/scripts/lib/hex-to-bn')
const { conversionUtil } = require('../../conversion-util')
const t = require('../../../i18n')
const SenderToRecipient = require('../sender-to-recipient')
+const NetworkDisplay = require('../network-display')
const { MIN_GAS_PRICE_HEX } = require('../send/send-constants')
@@ -244,9 +245,12 @@ class ConfirmDeployContract extends Component {
return (
h('.page-container', [
h('.page-container__header', [
- h('.page-container__back-button', {
- onClick: () => backToAccountDetail(selectedAddress),
- }, t('back')),
+ h('.page-container__header-row', [
+ h('span.page-container__back-button', {
+ onClick: () => backToAccountDetail(selectedAddress),
+ }, t('back')),
+ window.METAMASK_UI_TYPE === 'notification' && h(NetworkDisplay),
+ ]),
h('.page-container__title', t('confirmContract')),
h('.page-container__subtitle', t('pleaseReviewTransaction')),
]),