1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fixes the use of the browser back button on the reveal seed screen

This commit is contained in:
Dan Miller 2019-03-11 16:52:26 -02:30
parent 20feaa4baf
commit 17911dddff

View File

@ -6,7 +6,7 @@ import ImportWithSeedPhrase from './import-with-seed-phrase'
import { import {
INITIALIZE_CREATE_PASSWORD_ROUTE, INITIALIZE_CREATE_PASSWORD_ROUTE,
INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE, INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE,
INITIALIZE_END_OF_FLOW_ROUTE, INITIALIZE_SEED_PHRASE_ROUTE,
} from '../../../../routes' } from '../../../../routes'
export default class CreatePassword extends PureComponent { export default class CreatePassword extends PureComponent {
@ -21,7 +21,7 @@ export default class CreatePassword extends PureComponent {
const { isInitialized, history } = this.props const { isInitialized, history } = this.props
if (isInitialized) { if (isInitialized) {
history.push(INITIALIZE_END_OF_FLOW_ROUTE) history.push(INITIALIZE_SEED_PHRASE_ROUTE)
} }
} }