diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js index f71fc8231c9c..e96f01c1fa74 100755 --- a/src/pages/settings/Profile/ProfilePage.js +++ b/src/pages/settings/Profile/ProfilePage.js @@ -219,30 +219,30 @@ class ProfilePage extends Component { style={[styles.mt4, styles.mb4]} /> - - { - const hasSelfSelectedPronouns = pronouns === CONST.PRONOUNS.SELF_SELECT; - this.setState({ - pronouns: hasSelfSelectedPronouns ? '' : pronouns, - hasSelfSelectedPronouns, - }); - }} - items={pronounsList} - placeholder={{ - value: '', - label: this.props.translate('profilePage.selectYourPronouns'), - }} - value={pronounsPickerValue} - /> - + { + const hasSelfSelectedPronouns = pronouns === CONST.PRONOUNS.SELF_SELECT; + this.setState({ + pronouns: hasSelfSelectedPronouns ? '' : pronouns, + hasSelfSelectedPronouns, + }); + }} + items={pronounsList} + placeholder={{ + value: '', + label: this.props.translate('profilePage.selectYourPronouns'), + }} + value={pronounsPickerValue} + /> {this.state.hasSelfSelectedPronouns && ( - this.setState({pronouns})} - placeholder={this.props.translate('profilePage.selfSelectYourPronoun')} - /> + + this.setState({pronouns})} + placeholder={this.props.translate('profilePage.selfSelectYourPronoun')} + /> + )}