diff --git a/apps/web/lib/features/daily-plan/add-task-estimation-hours-modal.tsx b/apps/web/lib/features/daily-plan/add-task-estimation-hours-modal.tsx index 9ed06b64f..9b77e58b2 100644 --- a/apps/web/lib/features/daily-plan/add-task-estimation-hours-modal.tsx +++ b/apps/web/lib/features/daily-plan/add-task-estimation-hours-modal.tsx @@ -208,9 +208,9 @@ function TaskCard({ task, plan }: ITaskCardProps) { // Update the detailed task state getTaskById(task.id); openTaskDetailsModal(); - }, [getTaskById, openTaskDetai + }, [getTaskById, openTaskDetailsModal, task.id]); - const t = useTranslations(); + const t = useTranslations(); return (