- more tweaks and fixes.... still not running
This commit is contained in:
15
app/components/Profile/Profile.stateProps.js
Normal file
15
app/components/Profile/Profile.stateProps.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { getProfile, isGeneratedNomDeBid } from '../../selectors/profile.js';
|
||||
|
||||
export const matchStateToProps = (state) => {
|
||||
const profile = getProfile(state);
|
||||
|
||||
return {
|
||||
addresses: profile.get('addresses').toArray(),
|
||||
avatar: profile.get('avatar'),
|
||||
email: profile.get('email'),
|
||||
initials: profile.get('initials'),
|
||||
isGeneratedNomDeBid: isGeneratedNomDeBid(state),
|
||||
nomDeBid: profile.get('nomDeBid'),
|
||||
phones: profile.get('phones'),
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user