mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01: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:
commit
7981b1bf23
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user