diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-05-01 02:04:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-01 02:04:53 +0800 |
commit | 5f3f8c85fcc5bd378ef1a886434a3e98546fee7f (patch) | |
tree | f4665fdeae73f010a676da4ec3df563e31ff01bd /ui/app/app.js | |
parent | 9b1c07c75045f4a7124e4f0fcd416535f88182ae (diff) | |
parent | 61b8c3efff3b12e117c80db80c237dcfce0c0f49 (diff) | |
download | tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.tar tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.tar.gz tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.tar.bz2 tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.tar.lz tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.tar.xz tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.tar.zst tangerine-wallet-browser-5f3f8c85fcc5bd378ef1a886434a3e98546fee7f.zip |
Merge pull request #4059 from MetaMask/i-4033-seed-words
Use new design for Reveal Seed screen. Persist seed words only in the first time flow.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 0b38b1326..5af63dc9c 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -24,7 +24,7 @@ const Initialized = require('./components/pages/initialized') const Settings = require('./components/pages/settings') const UnlockPage = require('./components/pages/unlock') const RestoreVaultPage = require('./components/pages/keychains/restore-vault') -const RevealSeedConfirmation = require('./keychains/hd/recover-seed/confirmation') +const RevealSeedConfirmation = require('./components/pages/keychains/reveal-seed') const AddTokenPage = require('./components/pages/add-token') const CreateAccountPage = require('./components/pages/create-account') const NoticeScreen = require('./components/pages/notice') @@ -56,20 +56,11 @@ const { class App extends Component { componentWillMount () { - const { - currentCurrency, - setCurrentCurrencyToUSD, - isRevealingSeedWords, - clearSeedWords, - } = this.props + const { currentCurrency, setCurrentCurrencyToUSD } = this.props if (!currentCurrency) { setCurrentCurrencyToUSD() } - - if (isRevealingSeedWords) { - clearSeedWords() - } } renderRoutes () { @@ -402,8 +393,6 @@ App.propTypes = { isMouseUser: PropTypes.bool, setMouseUserState: PropTypes.func, t: PropTypes.func, - isRevealingSeedWords: PropTypes.bool, - clearSeedWords: PropTypes.func, } function mapStateToProps (state) { @@ -484,7 +473,6 @@ function mapDispatchToProps (dispatch, ownProps) { setCurrentCurrencyToUSD: () => dispatch(actions.setCurrentCurrency('usd')), toggleAccountMenu: () => dispatch(actions.toggleAccountMenu()), setMouseUserState: (isMouseUser) => dispatch(actions.setMouseUserState(isMouseUser)), - clearSeedWords: () => dispatch(actions.confirmSeedWords()), } } |