diff --git a/src/pages/home/HeaderView.js b/src/pages/home/HeaderView.js index 4716530e07b6..abf3051fcd06 100644 --- a/src/pages/home/HeaderView.js +++ b/src/pages/home/HeaderView.js @@ -40,7 +40,7 @@ const propTypes = { }), // Personal details of all the users - personalDetails: PropTypes.arrayOf(participantPropTypes).isRequired, + personalDetails: PropTypes.objectOf(participantPropTypes).isRequired, ...windowDimensionsPropTypes, }; @@ -83,7 +83,7 @@ const HeaderView = (props) => { Navigation.navigate(ROUTES.getProfileRoute(participants[0])); } }} - style={[styles.flexRow, styles.alignItemsCenter]} + style={[styles.flexRow, styles.alignItemsCenter, styles.flex1]} >