diff --git a/src/components/views/settings/Notifications.js b/src/components/views/settings/Notifications.js index 78bde820a1..b685c1f321 100644 --- a/src/components/views/settings/Notifications.js +++ b/src/components/views/settings/Notifications.js @@ -719,9 +719,9 @@ module.exports = React.createClass({ ); } - const emailThreepids = this.props.threepids.filter((tp) => tp.medium == "email"); + const emailThreepids = this.props.threepids.filter((tp) => tp.medium === "email"); let emailNotificationsRow; - if (emailThreepids.length == 0) { + if (emailThreepids.length === 0) { emailNotificationsRow =
Add an email address above to configure email notifications
;