diff --git a/src/api/TasksAPI/index.ts b/src/api/TasksAPI/index.ts index 73323fefa..145e31895 100644 --- a/src/api/TasksAPI/index.ts +++ b/src/api/TasksAPI/index.ts @@ -162,7 +162,6 @@ export const addBlockedSlot = async (goalId: string, slot: { start: string; end: .where("goalId") .equals(goalId) .modify((obj: TaskItem) => { - obj.blockedSlots = []; obj.blockedSlots.push(slot); }); }).catch((e) => {