From fba11daac55d7de068f6304a9ae270aa6775dc58 Mon Sep 17 00:00:00 2001 From: Ruslan Konviser Date: Tue, 19 Nov 2024 19:05:28 +0100 Subject: [PATCH] Update apps/web/components/pages/task/details-section/blocks/task-secondary-info.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .../pages/task/details-section/blocks/task-secondary-info.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/pages/task/details-section/blocks/task-secondary-info.tsx b/apps/web/components/pages/task/details-section/blocks/task-secondary-info.tsx index 91b606b5b..88c8690fd 100644 --- a/apps/web/components/pages/task/details-section/blocks/task-secondary-info.tsx +++ b/apps/web/components/pages/task/details-section/blocks/task-secondary-info.tsx @@ -304,7 +304,7 @@ function ProjectDropDown (props : ITaskProjectDropdownProps) { // Set the task project if any useEffect(() => { setSelected(organizationProjects.find(project => { - return project.id == task.projectId + return project.id === task.projectId })) },[organizationProjects, task.projectId])