Skip to content

Commit

Permalink
[Task]: Daily Plan | tab Future tasks (#2748)
Browse files Browse the repository at this point in the history
* feat: Daily Plan | tab Future tasks

* Delete console logs

---------

Co-authored-by: cedric karungu <ckarungu921@gmail.com>
  • Loading branch information
Innocent-Akim and Cedric921 authored Jul 17, 2024
1 parent ba9477c commit 4abbf26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/lib/features/task/daily-plan/future-tasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function FutureTasks({ profile }: { profile: any }) {
</div>
</AccordionTrigger>
<AccordionContent className="bg-light--theme border-none dark:bg-dark--theme">
<PlanHeader plan={plan} planMode="Outstanding" />
<PlanHeader plan={plan} planMode="Future Tasks" />
<Droppable droppableId={plan.id as string} key={plan.id} type="task">
{(provided) => (
<ul
Expand Down
1 change: 0 additions & 1 deletion apps/web/lib/features/user-profile-plans.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@ function AllPlans({ profile, currentTab = 'All Tasks' }: { profile: any; current
export function PlanHeader({ plan, planMode }: { plan: IDailyPlan; planMode: FilterTabs }) {
const [editTime, setEditTime] = useState<boolean>(false);
const [time, setTime] = useState<number>(0);

const { updateDailyPlan, updateDailyPlanLoading } = useDailyPlan();

// Get all tasks's estimations time
Expand Down

0 comments on commit 4abbf26

Please sign in to comment.