aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 73791ec13..7e7ca24ad 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -239,11 +239,7 @@ App.prototype.renderPrimary = function(){
return h(CreateVaultScreen, {key: 'createVault'})
default:
- if (this.hasPendingTxs()) {
- return h(ConfirmTxScreen, {key: 'confirm-tx'})
- } else {
- return h(AccountDetailScreen, {key: 'account-detail'})
- }
+ return h(AccountDetailScreen, {key: 'account-detail'})
}
}
@@ -259,14 +255,6 @@ App.prototype.toggleMetamaskActive = function(){
}
}
-App.prototype.hasPendingTxs = function() {
- var state = this.props
- var unconfTxs = state.unconfTxs
- var unconfMsgs = state.unconfMsgs
- var unconfTxList = txHelper(unconfTxs, unconfMsgs)
- return unconfTxList.length > 0
-}
-
function onOffToggle(state){
var buttonSize = '50px';
var lockWidth = '20px';