Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions assets/src/components/account/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,17 @@ class UserProfile extends React.Component<Props, State> {
};

handleChangeFullName = (e: React.ChangeEvent<HTMLInputElement>) => {
this.setState({isEditing: true});
this.setState({fullName: e.target.value});
};

handleChangeDisplayName = (e: React.ChangeEvent<HTMLInputElement>) => {
this.setState({isEditing: true});
this.setState({displayName: e.target.value});
};

handleChangeProfilePhotoUrl = (e: React.ChangeEvent<HTMLInputElement>) => {
this.setState({isEditing: true});
this.setState({profilePhotoUrl: e.target.value});
};

Expand Down Expand Up @@ -180,7 +183,6 @@ class UserProfile extends React.Component<Props, State> {
value={fullName}
onChange={this.handleChangeFullName}
placeholder="What's your name?"
disabled={!isEditing}
/>
</Box>

Expand All @@ -192,7 +194,6 @@ class UserProfile extends React.Component<Props, State> {
value={displayName}
onChange={this.handleChangeDisplayName}
placeholder="How would you like your name to be displayed?"
disabled={!isEditing}
/>
</Box>

Expand All @@ -216,7 +217,6 @@ class UserProfile extends React.Component<Props, State> {
value={profilePhotoUrl}
onChange={this.handleChangeProfilePhotoUrl}
placeholder="Enter an image URL for your profile photo"
disabled={!isEditing}
/>
</Box>

Expand Down