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/pages/first-time-flow/select-action/select-action.container.js

23 lines
637 B

import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import { compose } from 'redux';
import { setFirstTimeFlowType } from '../../../store/actions';
import { getFirstTimeFlowTypeRoute } from '../../../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);