16 lines
501 B
JavaScript
16 lines
501 B
JavaScript
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'),
|
|
};
|
|
};
|