- more tweaks and fixes.... still not running

This commit is contained in:
2019-08-09 02:01:39 -04:00
parent e07a4cb2b9
commit e6a4eeaeb1
9 changed files with 34 additions and 37 deletions

View 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'),
};
};