aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx/confirm-deploy-contract.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-03-20 07:12:09 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-03-21 02:56:12 +0800
commit3c1248c8169a1cb96a0ee2bc0f523fb9c765569e (patch)
treec6b75368609ea0625490ad62ddb9e38342f3736f /ui/app/components/pending-tx/confirm-deploy-contract.js
parent5c5f476ba4d0b26f6b8a71e16a8ff340566eb0b7 (diff)
downloadtangerine-wallet-browser-3c1248c8169a1cb96a0ee2bc0f523fb9c765569e.tar.gz
tangerine-wallet-browser-3c1248c8169a1cb96a0ee2bc0f523fb9c765569e.tar.zst
tangerine-wallet-browser-3c1248c8169a1cb96a0ee2bc0f523fb9c765569e.zip
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')),
]),