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