diff --git a/webapp/components/create_comment.jsx b/webapp/components/create_comment.jsx
index 543aef2020..a235691b40 100644
--- a/webapp/components/create_comment.jsx
+++ b/webapp/components/create_comment.jsx
@@ -490,5 +490,5 @@ export default class CreateComment extends React.Component {
CreateComment.propTypes = {
channelId: React.PropTypes.string.isRequired,
rootId: React.PropTypes.string.isRequired,
- latestPostId: React.PropTypes.string.isRequired
+ latestPostId: React.PropTypes.string
};
diff --git a/webapp/components/user_settings/email_notification_setting.jsx b/webapp/components/user_settings/email_notification_setting.jsx
index cc81c2fafc..a8319de292 100644
--- a/webapp/components/user_settings/email_notification_setting.jsx
+++ b/webapp/components/user_settings/email_notification_setting.jsx
@@ -64,7 +64,7 @@ export default class EmailNotificationSetting extends React.Component {
if (this.props.activeSection !== 'email') {
let description;
- if (this.props.enableEmail === 'true') {
+ if (this.props.enableEmail) {
switch (this.state.emailInterval) {
case INTERVAL_IMMEDIATE:
description = (
@@ -119,7 +119,7 @@ export default class EmailNotificationSetting extends React.Component {