Skip to content

Commit

Permalink
fix(useGoalsUpdater): Remove deprecated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZL-Asica committed Nov 7, 2024
1 parent 86eb91e commit dd06521
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/hooks/useGoalsUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ const useGoalsUpdater = () => {
microGoalIndex
),

// Delete a goal, microgoal, or task
deleteGoal: (goalIndex) => deleteItem(goalIndex),
deleteMicrogoal: (goalIndex, microGoalIndex) =>
deleteItem(goalIndex, microGoalIndex),
deleteTask: (goalIndex, microGoalIndex, taskIndex) =>
deleteItem(goalIndex, microGoalIndex, taskIndex),

// Delete
deleteItem,
toggleTaskCompletion,
Expand Down

0 comments on commit dd06521

Please sign in to comment.