mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
16 lines
502 B
JavaScript
16 lines
502 B
JavaScript
|
import { connect } from 'react-redux'
|
||
|
import RevealSeedPhrase from './reveal-seed-phrase.component'
|
||
|
import {
|
||
|
setCompletedOnboarding,
|
||
|
setSeedPhraseBackedUp,
|
||
|
} from '../../../../store/actions'
|
||
|
|
||
|
const mapDispatchToProps = dispatch => {
|
||
|
return {
|
||
|
setSeedPhraseBackedUp: (seedPhraseBackupState) => dispatch(setSeedPhraseBackedUp(seedPhraseBackupState)),
|
||
|
setCompletedOnboarding: () => dispatch(setCompletedOnboarding()),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default connect(null, mapDispatchToProps)(RevealSeedPhrase)
|