aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx/index.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-09-27 10:21:04 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-09-27 10:21:04 +0800
commitc77029ea90560b4210f9204e99314d30f9b59989 (patch)
tree3f065ce5eecb30bf4e72196f19b54c4aa08d3190 /ui/app/components/pending-tx/index.js
parent39365f2cc419ee824988e6dad4e8a75e650ad1cc (diff)
downloadtangerine-wallet-browser-c77029ea90560b4210f9204e99314d30f9b59989.tar.gz
tangerine-wallet-browser-c77029ea90560b4210f9204e99314d30f9b59989.tar.zst
tangerine-wallet-browser-c77029ea90560b4210f9204e99314d30f9b59989.zip
Implement Confirm Deploy Contract screen
Diffstat (limited to 'ui/app/components/pending-tx/index.js')
-rw-r--r--ui/app/components/pending-tx/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/components/pending-tx/index.js b/ui/app/components/pending-tx/index.js
index 915319958..b7dd50ff1 100644
--- a/ui/app/components/pending-tx/index.js
+++ b/ui/app/components/pending-tx/index.js
@@ -10,6 +10,7 @@ const actions = require('../../actions')
const util = require('../../util')
const ConfirmSendEther = require('./confirm-send-ether')
const ConfirmSendToken = require('./confirm-send-token')
+const ConfirmDeployContract = require('./confirm-deploy-contract')
const TX_TYPES = {
DEPLOY_CONTRACT: 'deploy_contract',
@@ -136,6 +137,11 @@ PendingTx.prototype.render = function () {
decimals: tokenDecimals,
},
})
+ case TX_TYPES.DEPLOY_CONTRACT:
+ return h(ConfirmDeployContract, {
+ txData: this.gatherTxMeta(),
+ sendTransaction,
+ })
default:
return h('noscript')
}