diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-21 13:31:59 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-21 13:31:59 +0800 |
commit | f503120b82c108efae0a4fc1282a43721d961ca2 (patch) | |
tree | fe99161e92499d04353804bca912d6256c7513c4 /mascara/src/app/first-time/create-password-screen.js | |
parent | 2b26496826716cc7dd10b3739828f7b82bdc3bd3 (diff) | |
download | tangerine-wallet-browser-f503120b82c108efae0a4fc1282a43721d961ca2.tar.gz tangerine-wallet-browser-f503120b82c108efae0a4fc1282a43721d961ca2.tar.zst tangerine-wallet-browser-f503120b82c108efae0a4fc1282a43721d961ca2.zip |
Add Import With Seed Phrase
Diffstat (limited to 'mascara/src/app/first-time/create-password-screen.js')
-rw-r--r-- | mascara/src/app/first-time/create-password-screen.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mascara/src/app/first-time/create-password-screen.js b/mascara/src/app/first-time/create-password-screen.js index a1816b88c..2f4b81e7c 100644 --- a/mascara/src/app/first-time/create-password-screen.js +++ b/mascara/src/app/first-time/create-password-screen.js @@ -8,6 +8,7 @@ class CreatePasswordScreen extends Component { static propTypes = { isLoading: PropTypes.bool.isRequired, createAccount: PropTypes.func.isRequired, + goToImportWithSeedPhrase: PropTypes.func.isRequired, goToImportAccount: PropTypes.func.isRequired, next: PropTypes.func.isRequired } @@ -44,7 +45,7 @@ class CreatePasswordScreen extends Component { } render() { - const { isLoading, goToImportAccount } = this.props + const { isLoading, goToImportAccount, goToImportWithSeedPhrase } = this.props return isLoading ? <LoadingScreen loadingMessage="Creating your new account" /> @@ -72,6 +73,16 @@ class CreatePasswordScreen extends Component { > Create </button> + <a + href="" + className="first-time-flow__link create-password__import-link" + onClick={e => { + e.preventDefault() + goToImportWithSeedPhrase() + }} + > + Import with seed phrase + </a> { /* } <a href="" |