From 7c7475b7b7e8cf4534830dc1a347000c9a84f5ec Mon Sep 17 00:00:00 2001 From: Aman Ansari Date: Fri, 30 Jul 2021 20:36:50 +0530 Subject: [PATCH] minor update --- 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,