- The fix is in! Linty fresh and pretty...
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { getProfile } from '../selectors/profile.js';
|
||||
import { getProfile, isGeneratedNomDeBid } from '../selectors/profile.js';
|
||||
|
||||
import Profile from './Profile.js';
|
||||
|
||||
@@ -12,9 +12,13 @@ export const commonProfileStateToProps = (state) => {
|
||||
avatar: profile.get('avatar'),
|
||||
email: profile.get('email'),
|
||||
initials: profile.get('initials'),
|
||||
isGeneratedNomDeBid: isGeneratedNomDeBid(state),
|
||||
nomDeBid: profile.get('nomDeBid'),
|
||||
phones: profile.get('phones'),
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(commonProfileStateToProps, null)(Profile);
|
||||
export default connect(
|
||||
commonProfileStateToProps,
|
||||
null,
|
||||
)(Profile);
|
||||
|
||||
Reference in New Issue
Block a user