Remove duplicate toaster
This commit is contained in:
parent
f456fd982f
commit
175c6a1d7e
2 changed files with 0 additions and 6 deletions
|
|
@ -318,9 +318,6 @@ const ProductivityAssistant: React.FC<ProductivityAssistantProps> = ({
|
|||
await updateTask(updatedTask.id, updatedTask);
|
||||
setIsTaskModalOpen(false);
|
||||
setSelectedTask(null);
|
||||
showSuccessToast(
|
||||
t('task.updateSuccess', 'Task updated successfully')
|
||||
);
|
||||
// Optionally refresh the parent component data
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -344,9 +344,6 @@ const TaskDetails: React.FC = () => {
|
|||
tasksStore.setTasks(updatedTasks);
|
||||
}
|
||||
}
|
||||
showSuccessToast(
|
||||
t('task.updateSuccess', 'Task updated successfully')
|
||||
);
|
||||
|
||||
// Subtasks will be automatically updated when the task is reloaded from the global store
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue