1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Clean up other unlinted lint issues

This commit is contained in:
Travis Ralston
2020-09-24 08:26:59 -06:00
parent aa0e19daf0
commit a2860e698a
3 changed files with 13 additions and 7 deletions

View File

@@ -155,7 +155,8 @@ export default class ProfileSettings extends React.Component {
return (
<form
onSubmit={this._saveProfile}
autoComplete="off" noValidate={true}
autoComplete="off"
noValidate={true}
className="mx_ProfileSettings_profileForm"
>
<input type="file" ref={this._avatarUpload} className="mx_ProfileSettings_avatarUpload"
@@ -183,13 +184,15 @@ export default class ProfileSettings extends React.Component {
</div>
<div className="mx_ProfileSettings_buttons">
<AccessibleButton
onClick={this._clearProfile} kind="link"
onClick={this._clearProfile}
kind="link"
disabled={!this.state.enableProfileSave}
>
{_t("Cancel")}
</AccessibleButton>
<AccessibleButton
onClick={this._saveProfile} kind="primary"
onClick={this._saveProfile}
kind="primary"
disabled={!this.state.enableProfileSave}
>
{_t("Save")}