Skip to content

Commit

Permalink
Merge pull request #6281 from MetaMask/fix-browser-back-on-reveal-seed
Browse files Browse the repository at this point in the history
Fixes the use of the browser back button on the reveal seed screen
  • Loading branch information
tmashuang authored Mar 12, 2019
2 parents 9d130a1 + 17911dd commit 7981b1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ImportWithSeedPhrase from './import-with-seed-phrase'
import {
INITIALIZE_CREATE_PASSWORD_ROUTE,
INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE,
INITIALIZE_END_OF_FLOW_ROUTE,
INITIALIZE_SEED_PHRASE_ROUTE,
} from '../../../../routes'

export default class CreatePassword extends PureComponent {
Expand All @@ -21,7 +21,7 @@ export default class CreatePassword extends PureComponent {
const { isInitialized, history } = this.props

if (isInitialized) {
history.push(INITIALIZE_END_OF_FLOW_ROUTE)
history.push(INITIALIZE_SEED_PHRASE_ROUTE)
}
}

Expand Down

0 comments on commit 7981b1b

Please sign in to comment.