aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages/home
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/pages/home')
-rw-r--r--ui/app/pages/home/home.component.js8
-rw-r--r--ui/app/pages/home/home.container.js2
2 files changed, 0 insertions, 10 deletions
diff --git a/ui/app/pages/home/home.component.js b/ui/app/pages/home/home.component.js
index 4d96c3131..01bec7db6 100644
--- a/ui/app/pages/home/home.component.js
+++ b/ui/app/pages/home/home.component.js
@@ -7,7 +7,6 @@ import TransactionView from '../../components/app/transaction-view'
import ProviderApproval from '../provider-approval'
import {
- INITIALIZE_SEED_PHRASE_ROUTE,
RESTORE_VAULT_ROUTE,
CONFIRM_TRANSACTION_ROUTE,
CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE,
@@ -17,7 +16,6 @@ export default class Home extends PureComponent {
static propTypes = {
history: PropTypes.object,
forgottenPassword: PropTypes.bool,
- seedWords: PropTypes.string,
suggestedTokens: PropTypes.object,
unconfirmedTransactionsCount: PropTypes.number,
providerRequests: PropTypes.array,
@@ -49,16 +47,10 @@ export default class Home extends PureComponent {
render () {
const {
forgottenPassword,
- seedWords,
providerRequests,
history,
} = this.props
- // seed words
- if (seedWords) {
- return <Redirect to={{ pathname: INITIALIZE_SEED_PHRASE_ROUTE }}/>
- }
-
if (forgottenPassword) {
return <Redirect to={{ pathname: RESTORE_VAULT_ROUTE }} />
}
diff --git a/ui/app/pages/home/home.container.js b/ui/app/pages/home/home.container.js
index 7508654dc..a4690a17a 100644
--- a/ui/app/pages/home/home.container.js
+++ b/ui/app/pages/home/home.container.js
@@ -8,7 +8,6 @@ const mapStateToProps = state => {
const { metamask, appState } = state
const {
lostAccounts,
- seedWords,
suggestedTokens,
providerRequests,
} = metamask
@@ -17,7 +16,6 @@ const mapStateToProps = state => {
return {
lostAccounts,
forgottenPassword,
- seedWords,
suggestedTokens,
unconfirmedTransactionsCount: unconfirmedTransactionsCountSelector(state),
providerRequests,