Skip to content

Commit

Permalink
rename props passed to FullNameInputRow in ProfilePage
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-hull committed Jan 5, 2022
1 parent d0c1d6d commit 5d2bd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/settings/Profile/ProfilePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ class ProfilePage extends Component {
</Text>
<FullNameInputRow
firstName={this.state.firstName}
hasFirstNameError={PersonalDetails.getMaxCharacterError(this.state.firstNameError)}
firstNameError={PersonalDetails.getMaxCharacterError(this.state.firstNameError)}
lastName={this.state.lastName}
hasLastNameError={PersonalDetails.getMaxCharacterError(this.state.lastNameError)}
lastNameError={PersonalDetails.getMaxCharacterError(this.state.lastNameError)}
onChangeFirstName={firstName => this.setState({firstName})}
onChangeLastName={lastName => this.setState({lastName})}
style={[styles.mt4, styles.mb4]}
Expand Down

0 comments on commit 5d2bd6d

Please sign in to comment.