// Copyright 2015-2019 Parity Technologies (UK) Ltd. // This file is part of Parity. // // SPDX-License-Identifier: BSD-3-Clause import React, { Component } from 'react'; import { AccountCard } from 'fether-ui'; import { inject, observer } from 'mobx-react'; import i18n, { packageNS } from '../../../i18n'; @inject('createAccountStore') @observer class AccountCopyPhrase extends Component { handleSubmit = () => { const { history, location: { pathname } } = this.props; const currentStep = pathname.slice(-1); history.push(`/accounts/new/${+currentStep + 1}`); }; render () { const { createAccountStore: { address, name, bip39Phrase }, history, location: { pathname } } = this.props; const currentStep = pathname.slice(-1); return (

{i18n.t(`${packageNS}:account.create.copy_phrase.msg1`)}

{bip39Phrase}
{i18n.t(`${packageNS}:account.create.copy_phrase.msg2`)}
  • {i18n.t(`${packageNS}:account.create.copy_phrase.msg3`)}
  • {i18n.t(`${packageNS}:account.create.copy_phrase.msg4`)}
]} i18n={i18n} packageNS={packageNS} /> ); } } export default AccountCopyPhrase;