diff --git a/web/modals/threads/notifications/enum-settings-option-info.react.js b/web/modals/threads/notifications/enum-settings-option-info.react.js
--- a/web/modals/threads/notifications/enum-settings-option-info.react.js
+++ b/web/modals/threads/notifications/enum-settings-option-info.react.js
@@ -7,7 +7,7 @@
import css from './enum-settings-option-info.css';
type Props = {
- +valid: boolean,
+ +valid: ?boolean,
+children: React.Node,
};
@@ -17,15 +17,17 @@
const optionInfoClasses = React.useMemo(
() =>
classnames(css.optionInfo, {
- [css.optionInfoInvalid]: !valid,
+ [css.optionInfoInvalid]: valid === false,
}),
[valid],
);
- const icon = React.useMemo(
- () =>