From f584bc48544f4d58e7a1406f6322cc92c247ff79 Mon Sep 17 00:00:00 2001 From: Ruslan Konviser Date: Sun, 1 Sep 2024 21:47:10 +0200 Subject: [PATCH] Update add-task-estimation-hours-modal.tsx --- .../features/daily-plan/add-task-estimation-hours-modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (