diff --git a/common/app/routes/Settings/Email-Setting.jsx b/common/app/routes/Settings/Email-Setting.jsx
index 59e343d214..ced3cd62cc 100644
--- a/common/app/routes/Settings/Email-Setting.jsx
+++ b/common/app/routes/Settings/Email-Setting.jsx
@@ -80,6 +80,7 @@ export default function EmailSettings({
@@ -95,6 +96,7 @@ export default function EmailSettings({
@@ -110,6 +112,7 @@ export default function EmailSettings({
diff --git a/common/app/routes/Settings/Toggle-Button/Toggle-Button.jsx b/common/app/routes/Settings/Toggle-Button/Toggle-Button.jsx
index 0e68d58127..8e78c33ccc 100644
--- a/common/app/routes/Settings/Toggle-Button/Toggle-Button.jsx
+++ b/common/app/routes/Settings/Toggle-Button/Toggle-Button.jsx
@@ -5,7 +5,7 @@ import { ToggleButtonGroup as BSBG, ToggleButton as TB } from 'react-bootstrap';
import ns from './ns.json';
const propTypes = {
- name: PropTypes.string,
+ name: PropTypes.string.isRequired,
onChange: PropTypes.func.isRequired,
value: PropTypes.bool.isRequired
};