diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js index c8d7e5ba0b09..9190dc420bf9 100755 --- a/src/pages/settings/Profile/ProfilePage.js +++ b/src/pages/settings/Profile/ProfilePage.js @@ -172,8 +172,8 @@ class ProfilePage extends Component { } = this.state; setPersonalDetails({ - firstName, - lastName, + firstName: firstName.trim(), + lastName: lastName.trim(), pronouns: pronouns === this.props.translate('pronouns.selfSelect') ? selfSelectedPronouns : pronouns,