aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-08-13 06:41:59 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-08-13 06:41:59 +0800
commitb4c9a5225947f9aadac5fd1bb23fde64740d774a (patch)
treebd6af9ce87c7cbedc6aa2a6afe0e7f6ce424b49f /ui/app/app.js
parent2fc26fb264ba0df7e4fc60128c6cbe19d3141beb (diff)
downloadtangerine-wallet-browser-b4c9a5225947f9aadac5fd1bb23fde64740d774a.tar.gz
tangerine-wallet-browser-b4c9a5225947f9aadac5fd1bb23fde64740d774a.tar.zst
tangerine-wallet-browser-b4c9a5225947f9aadac5fd1bb23fde64740d774a.zip
Change buy forms so that they are their own view and add Qr-code
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index cc616fb7c..4cc32bf9b 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -28,7 +28,7 @@ const DropMenuItem = require('./components/drop-menu-item')
const NetworkIndicator = require('./components/network')
const Tooltip = require('./components/tooltip')
const EthStoreWarning = require('./eth-store-warning')
-
+const BuyView = require('./components/buy-button-subview')
module.exports = connect(mapStateToProps)(App)
inherits(App, Component)
@@ -366,6 +366,8 @@ App.prototype.renderPrimary = function () {
case 'createVault':
return h(CreateVaultScreen, {key: 'createVault'})
+ case 'buyEth':
+ return h(BuyView, {key: 'buyEthView'})
default:
return h(AccountDetailScreen, {key: 'account-detail'})