1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Merge pull request #6281 from MetaMask/fix-browser-back-on-reveal-seed

Fixes the use of the browser back button on the reveal seed screen
This commit is contained in:
Thomas Huang 2019-03-12 11:31:19 -05:00 committed by GitHub
commit 7981b1bf23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {
@ -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)
}
}