We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2a2daa + a34455e commit 87af126Copy full SHA for 87af126
web/src/layout/Header/navbar/Menu/Settings/SendMeNotifications/FormNotifs/index.tsx
@@ -36,7 +36,7 @@ const EmailErrorContainer = styled.div`
36
const OPTIONS = [{ label: "When x." }, { label: "When y." }, { label: "When z." }, { label: "When w." }];
37
38
const FormNotifs: React.FC = () => {
39
- const [checkboxStates, setCheckboxStates] = useState<boolean[]>(new Array(OPTIONS.length));
+ const [checkboxStates, setCheckboxStates] = useState<boolean[]>(new Array(OPTIONS.length).fill(false));
40
const [emailInput, setEmailInput] = useState<string>("");
41
const [emailIsValid, setEmailIsValid] = useState<boolean>(false);
42
0 commit comments