aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/import/index.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-01-25 07:39:33 +0800
committerGitHub <noreply@github.com>2017-01-25 07:39:33 +0800
commit70b8e640f0170281b92ac610e063351a74d5333d (patch)
treeb87831b7cf4acb06a0bca115b12e8be64210f455 /ui/app/accounts/import/index.js
parent463a56ff54b0d850c86348e260e5f7c17b138ccb (diff)
parent23c2b0b9a5d3f222bfeba7bcff5cf5a57367ffc8 (diff)
downloadtangerine-wallet-browser-70b8e640f0170281b92ac610e063351a74d5333d.tar.gz
tangerine-wallet-browser-70b8e640f0170281b92ac610e063351a74d5333d.tar.zst
tangerine-wallet-browser-70b8e640f0170281b92ac610e063351a74d5333d.zip
Merge branch 'dev' into i#1048
Diffstat (limited to 'ui/app/accounts/import/index.js')
-rw-r--r--ui/app/accounts/import/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/accounts/import/index.js b/ui/app/accounts/import/index.js
index 18a6b985c..96350852a 100644
--- a/ui/app/accounts/import/index.js
+++ b/ui/app/accounts/import/index.js
@@ -6,11 +6,11 @@ import Select from 'react-select'
// Subviews
const JsonImportView = require('./json.js')
-const SeedImportView = require('./seed.js')
const PrivateKeyImportView = require('./private-key.js')
const menuItems = [
'Private Key',
+ 'JSON File',
]
module.exports = connect(mapStateToProps)(AccountImportSubview)
@@ -81,10 +81,10 @@ AccountImportSubview.prototype.renderImportView = function() {
const current = type || menuItems[0]
switch (current) {
- case 'HD Key Tree':
- return h(SeedImportView)
case 'Private Key':
return h(PrivateKeyImportView)
+ case 'JSON File':
+ return h(JsonImportView)
default:
return h(JsonImportView)
}