aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/import/index.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-01-20 02:58:33 +0800
committerGitHub <noreply@github.com>2017-01-20 02:58:33 +0800
commita09332f9379400204cae885345a8fd975e887098 (patch)
tree253ad8b40a129b85e7603d43d9edb5b650dbbeb4 /ui/app/accounts/import/index.js
parent29cbfd1ea28e4408dd79cb1b2769b53ba01913c4 (diff)
parentb478ce5b778bd70a3ebfc89f2c680daa25a6f395 (diff)
downloadtangerine-wallet-browser-a09332f9379400204cae885345a8fd975e887098.tar.gz
tangerine-wallet-browser-a09332f9379400204cae885345a8fd975e887098.tar.zst
tangerine-wallet-browser-a09332f9379400204cae885345a8fd975e887098.zip
Merge pull request #1029 from MetaMask/i715-AddJsonImport
Add JSON file account import
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)
}