- The fix is in! Linty fresh and pretty...

This commit is contained in:
Mike Fitzpatrick
2019-08-08 16:18:08 -04:00
parent dfc4daf696
commit ebb6f47455
52 changed files with 453 additions and 259 deletions

View File

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