Skip to content

Commit

Permalink
fix: merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaybadgujar102 committed Jan 11, 2025
1 parent 1d2223a commit 601eed8
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ export const useMyTimelineStore = (day: string) => {
if (actionName === TaskAction.Done) {
return handleDoneClick(task);
}
if (actionName === TaskAction.NotNow) {
return setOpenReschedule({ ...task });
}
if (day === "Today") {
const taskItem = await getTaskByGoalId(task.goalid);
if (!taskItem) {
Expand All @@ -89,15 +86,12 @@ export const useMyTimelineStore = (day: string) => {
id: uuidv4(),
goalId: task.goalid,
title: task.title,
completedTodayIds: [],
skippedToday: [],
completedToday: 0,
lastSkipped: "",
lastCompleted: "",
hoursSpent: 0,
blockedSlots: [],
});
}
if (actionName === TaskAction.NotNow) {
return setOpenReschedule({ ...task });
}
} else {
setShowToast({ open: true, message: "Let's focus on Today :)", extra: "" });
}
Expand Down

0 comments on commit 601eed8

Please sign in to comment.