blob: d68f7a153135baa3715d175e3ce458f021cde818 (
plain) (
tree)
|
|
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)
|