Skip to content

Commit 2a54315

Browse files
Jag96OSBotify
authored and
OSBotify
committed
Merge pull request #4322 from aman-atg/aman-atg-minorFixFor#4190
Patch for PR #4190 (cherry picked from commit 0c49bcf)
1 parent a3c202e commit 2a54315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/settings/Profile/ProfilePage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ class ProfilePage extends Component {
172172
} = this.state;
173173

174174
setPersonalDetails({
175-
firstName,
176-
lastName,
175+
firstName: firstName.trim(),
176+
lastName: lastName.trim(),
177177
pronouns: pronouns === this.props.translate('pronouns.selfSelect')
178178
? selfSelectedPronouns
179179
: pronouns,

0 commit comments

Comments
 (0)