Files
Eventment/app/components/Profile/ViewProfile.container.js
Mike Fitzpatrick dfc4daf696 - Stuff
2019-08-07 17:49:34 -04:00

18 lines
508 B
JavaScript

import { connect } from 'react-redux';
import { commonProfileStateToProps } from './Profile.container.js';
import ViewProfile from './ViewProfile.js';
const matchStateToProps = (dispatch) => {
const commonProps = commonProfileStateToProps(state);
const profile = getProfile(state);
return {
...commonProps,
fullName: profile.get('fullName'),
generatedNomDeBid: propfile.get('generatedNomDeBid'),
};
};
export default connect(matchStateToProps, null)(ViewProfile);