diff --git a/src/views/Settings/NotificationSetting.jsx b/src/views/Settings/NotificationSetting.jsx index 264f6ce..ee22a23 100644 --- a/src/views/Settings/NotificationSetting.jsx +++ b/src/views/Settings/NotificationSetting.jsx @@ -611,7 +611,7 @@ const NotificationSetting = () => { Custom Notification - Notificaiton through other platform like Telegram or Pushover + Notification through other platform like Telegram or Pushover diff --git a/src/views/components/AddTaskModal.jsx b/src/views/components/AddTaskModal.jsx index f70abb6..cd32d02 100644 --- a/src/views/components/AddTaskModal.jsx +++ b/src/views/components/AddTaskModal.jsx @@ -1012,11 +1012,11 @@ const TaskInput = ({ autoFocus, onChoreUpdate, isModalOpen, onClose }) => { if ( metadata.notifications !== notificationMetadata.templates ) { - const newNotificaitonMetadata = { + const newNotificationMetadata = { ...notificationMetadata, templates: metadata.notifications, } - setNotificationMetadata(newNotificaitonMetadata) + setNotificationMetadata(newNotificationMetadata) } }} value={notificationMetadata}