diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-06-15 01:13:07 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-06-15 01:13:07 +0800 |
commit | a8ababe2f495ef91bd51436d41709cadb7b2f48c (patch) | |
tree | a0c8083c58eea6ca66fb29fc2f616f9f8d40f83f /ui/app | |
parent | 141e66171b05b803a06e68208bed073906a4616d (diff) | |
download | tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.tar tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.tar.gz tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.tar.bz2 tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.tar.lz tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.tar.xz tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.tar.zst tangerine-wallet-browser-a8ababe2f495ef91bd51436d41709cadb7b2f48c.zip |
Add a new warning for file import JSON
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/accounts/import/json.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/accounts/import/json.js b/ui/app/accounts/import/json.js index 5ed31ab0a..158a3c923 100644 --- a/ui/app/accounts/import/json.js +++ b/ui/app/accounts/import/json.js @@ -5,6 +5,8 @@ const connect = require('react-redux').connect const actions = require('../../actions') const FileInput = require('react-simple-file-input').default +const HELP_LINK = 'https://github.com/MetaMask/faq/blob/master/README.md#q-i-cant-use-the-import-feature-for-uploading-a-json-file-the-window-keeps-closing-when-i-try-to-select-a-file' + module.exports = connect(mapStateToProps)(JsonImportSubview) function mapStateToProps (state) { @@ -32,6 +34,7 @@ JsonImportSubview.prototype.render = function () { }, [ h('p', 'Used by a variety of different clients'), + h('a.warning', { href: HELP_LINK, target: '_blank' }, 'File import not working? Click here!'), h(FileInput, { readAs: 'text', |