From 2a54315c29d983ba4166a29c27010818e4aacdca Mon Sep 17 00:00:00 2001 From: Joe Gambino Date: Fri, 30 Jul 2021 10:58:19 -0700 Subject: [PATCH] Merge pull request #4322 from aman-atg/aman-atg-minorFixFor#4190 Patch for PR #4190 (cherry picked from commit 0c49bcfe406ecdc9a3b25b41a0890465317c3cee) --- src/pages/settings/Profile/ProfilePage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,