You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
447 B
20 lines
447 B
import { connect } from 'react-redux'
|
|
import FirstTimeFlowSwitch from './first-time-flow-switch.component'
|
|
|
|
const mapStateToProps = ({ metamask }) => {
|
|
const {
|
|
completedOnboarding,
|
|
isInitialized,
|
|
isUnlocked,
|
|
participateInMetaMetrics: optInMetaMetrics,
|
|
} = metamask
|
|
|
|
return {
|
|
completedOnboarding,
|
|
isInitialized,
|
|
isUnlocked,
|
|
optInMetaMetrics,
|
|
}
|
|
}
|
|
|
|
export default connect(mapStateToProps)(FirstTimeFlowSwitch)
|
|
|