From 4a819d319ebb69a657a7591e8be03408e1ec034f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 23 Jan 2019 09:41:07 -0700 Subject: [PATCH] Early de-linting --- src/components/views/settings/EmailAddresses.js | 6 +++--- src/components/views/settings/ProfileSettings.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/views/settings/EmailAddresses.js b/src/components/views/settings/EmailAddresses.js index 24d1547fd7..d8577f6a99 100644 --- a/src/components/views/settings/EmailAddresses.js +++ b/src/components/views/settings/EmailAddresses.js @@ -97,7 +97,7 @@ export class ExistingEmailAddress extends React.Component { {_t("No")} - ) + ); } return ( @@ -196,7 +196,7 @@ export default class EmailAddresses extends React.Component { render() { const existingEmailElements = this.state.emails.map((e) => { - return ; + return ; }); let addButton = ( @@ -222,7 +222,7 @@ export default class EmailAddresses extends React.Component {
+ type="text" autoComplete="off" disabled={this.state.verifying} /> {addButton} diff --git a/src/components/views/settings/ProfileSettings.js b/src/components/views/settings/ProfileSettings.js index 6bffd92f85..649128e4f3 100644 --- a/src/components/views/settings/ProfileSettings.js +++ b/src/components/views/settings/ProfileSettings.js @@ -109,18 +109,18 @@ export default class ProfileSettings extends React.Component { // TODO: Why is rendering a box with an overlay so complicated? Can the DOM be reduced? let showOverlayAnyways = true; - let avatarElement =
; + let avatarElement =
; if (this.state.avatarUrl) { showOverlayAnyways = false; avatarElement = {_t("Profile + alt={_t("Profile picture")} />; } const avatarOverlayClasses = classNames({ "mx_ProfileSettings_avatarOverlay": true, "mx_ProfileSettings_avatarOverlay_show": showOverlayAnyways, }); - let avatarHoverElement = ( + const avatarHoverElement = (
{_t("Upload profile picture")}
@@ -132,7 +132,7 @@ export default class ProfileSettings extends React.Component { return (
+ onChange={this._onAvatarChanged} accept="image/*" />

{this.state.userId}