mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-27 18:57:13 +02:00
tasks logic
This commit is contained in:
@@ -48,9 +48,8 @@ export const useTaskActions = () => {
|
||||
try {
|
||||
me.root.tasks.splice(index, 1)
|
||||
|
||||
toast.success("Task deleted", {
|
||||
position: "bottom-right",
|
||||
description: `${task.title} has been deleted.`
|
||||
toast.success("Task completed", {
|
||||
position: "bottom-right"
|
||||
})
|
||||
} catch (error) {
|
||||
console.error("Failed to delete task", error)
|
||||
|
||||
Reference in New Issue
Block a user