diff --git a/src/views/ChoreEdit/ChoreEdit.jsx b/src/views/ChoreEdit/ChoreEdit.jsx index 8b93b44..6c03a71 100644 --- a/src/views/ChoreEdit/ChoreEdit.jsx +++ b/src/views/ChoreEdit/ChoreEdit.jsx @@ -85,10 +85,14 @@ const ChoreEdit = () => { const [thingTrigger, setThingTrigger] = useState(null) const [isThingValid, setIsThingValid] = useState(false) - const [notificationMetadata, setNotificationMetadata] = useState({}) + const [notificationMetadata, setNotificationMetadata] = useState({ + dueDate: true, + predue: true, + nagging: true + }) const [isRolling, setIsRolling] = useState(false) - const [isNotificable, setIsNotificable] = useState(false) + const [isNotificable, setIsNotificable] = useState(true) const [isActive, setIsActive] = useState(true) const [updatedBy, setUpdatedBy] = useState(0) const [createdBy, setCreatedBy] = useState(0) @@ -710,7 +714,7 @@ const ChoreEdit = () => { onChange={e => { setIsNotificable(e.target.checked) }} - defaultChecked={isNotificable} + defaultChecked={true} checked={isNotificable} value={isNotificable} disabled={!isPlusAccount(userProfile)}