A Metamask fork with Infura removed and default networks editable
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.
 
 
 
 
 
ciphermask/ui/app/pages/first-time-flow/select-action/select-action.container.js

23 lines
639 B

import { connect } from 'react-redux'
import { withRouter } from 'react-router-dom'
import { compose } from 'recompose'
import { setFirstTimeFlowType } from '../../../store/actions'
import { getFirstTimeFlowTypeRoute } from '../first-time-flow.selectors'
import Welcome from './select-action.component'
const mapStateToProps = (state) => {
return {
nextRoute: getFirstTimeFlowTypeRoute(state),
}
}
const mapDispatchToProps = (dispatch) => {
return {
setFirstTimeFlowType: (type) => dispatch(setFirstTimeFlowType(type)),
}
}
export default compose(
withRouter,
connect(mapStateToProps, mapDispatchToProps)
)(Welcome)